Skip to content

Commit 382ef84

Browse files
committed
Fix element ordering
1 parent df76769 commit 382ef84

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/NerdBank.GitVersioning/VersionOptions.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22
{
33
using System;
44
using System.Collections.Generic;
5+
using System.ComponentModel;
56
using System.Diagnostics;
67
using System.Reflection;
78
using Newtonsoft.Json;
89
using Newtonsoft.Json.Converters;
9-
using System.ComponentModel;
1010

1111
/// <summary>
1212
/// Describes the various versions and options required for the build.
1313
/// </summary>
1414
[DebuggerDisplay("{DebuggerDisplay,nq}")]
1515
public class VersionOptions : IEquatable<VersionOptions>
1616
{
17+
/// <summary>
18+
/// Default value for <see cref="VersionPrecision"/>.
19+
/// </summary>
20+
public const VersionPrecision DefaultVersionPrecision = VersionPrecision.Minor;
21+
1722
/// <summary>
1823
/// The JSON serializer settings to use.
1924
/// </summary>
@@ -87,11 +92,6 @@ public static VersionOptions FromVersion(Version version, string unstableTag = n
8792
};
8893
}
8994

90-
/// <summary>
91-
/// Default value for <see cref="VersionPrecision"/>.
92-
/// </summary>
93-
public const VersionPrecision DefaultVersionPrecision = VersionPrecision.Minor;
94-
9595
/// <summary>
9696
/// Checks equality against another object.
9797
/// </summary>
@@ -173,7 +173,7 @@ public AssemblyVersionOptions(Version version, VersionPrecision precision = Defa
173173
this.Version = version;
174174
this.Precision = precision;
175175
}
176-
176+
177177
/// <summary>
178178
/// Gets or sets the major.minor components of the assembly version.
179179
/// </summary>

0 commit comments

Comments
 (0)