Skip to content

Commit

Permalink
Cleanup code in ChunkOrderAttribute class
Browse files Browse the repository at this point in the history
  • Loading branch information
Luzifix committed Jul 15, 2024
1 parent 3ae6dad commit fecbd5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Warcraft.NET/Attribute/ChunkAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Warcraft.NET.Attribute
public sealed class ChunkOrderAttribute : System.Attribute
{
private readonly int order_;
public ChunkOrderAttribute([CallerLineNumber]int order = 0)
public ChunkOrderAttribute([CallerLineNumber] int order = 0)
{
order_ = order;
}
Expand All @@ -31,7 +31,7 @@ public ChunkOptionalAttribute(bool optional = true)
public sealed class ChunkArrayAttribute : System.Attribute
{
private readonly int length;
public ChunkArrayAttribute([CallerLineNumber]int length = 0)
public ChunkArrayAttribute([CallerLineNumber] int length = 0)
{
this.length = length;
}
Expand All @@ -42,7 +42,6 @@ public ChunkArrayAttribute([CallerLineNumber]int length = 0)
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class ChunkIgnoreAttribute : System.Attribute
{
private readonly bool optional_;
public ChunkIgnoreAttribute() { }
}
}

0 comments on commit fecbd5d

Please sign in to comment.