@@ -85,7 +85,7 @@ namespace System.Management.Automation
8585 public SemanticVersion(int major, int minor, int patch, string label)
8686 : this(major, minor, patch)
8787 {
88- // We presume the SymVer :
88+ // We presume the SemVer :
8989 // 1) major.minor.patch-label
9090 // 2) 'label' starts with letter or digit.
9191 if (!string.IsNullOrEmpty(label))
@@ -238,7 +238,7 @@ namespace System.Management.Automation
238238
239239
240240 /// <summary>
241- /// PreReleaseLabel position in the SymVer string 'major.minor.patch-PreReleaseLabel+BuildLabel'.
241+ /// PreReleaseLabel position in the SemVer string 'major.minor.patch-PreReleaseLabel+BuildLabel'.
242242 /// </summary>
243243 private string preReleaseLabel;
244244
@@ -249,7 +249,7 @@ namespace System.Management.Automation
249249
250250
251251 /// <summary>
252- /// BuildLabel position in the SymVer string 'major.minor.patch-PreReleaseLabel+BuildLabel'.
252+ /// BuildLabel position in the SemVer string 'major.minor.patch-PreReleaseLabel+BuildLabel'.
253253 /// </summary>
254254 private string buildLabel;
255255
@@ -318,7 +318,7 @@ namespace System.Management.Automation
318318 string preLabel = null;
319319 string buildLabel = null;
320320
321- // We parse the SymVer 'version' string 'major.minor.patch-PreReleaseLabel+BuildLabel'.
321+ // We parse the SemVer 'version' string 'major.minor.patch-PreReleaseLabel+BuildLabel'.
322322 var dashIndex = version.IndexOf('-');
323323 var plusIndex = version.IndexOf('+');
324324
@@ -474,7 +474,7 @@ namespace System.Management.Automation
474474
475475 /// <summary>
476476 /// Implement <see cref="IComparable{T}.CompareTo"/>.
477- /// Meets SymVer 2.0 p.11 https://semver.org/
477+ /// Meets SemVer 2.0 p.11 https://semver.org/
478478 /// </summary>
479479 public int CompareTo(SemanticVersion value)
480480 {
@@ -490,7 +490,7 @@ namespace System.Management.Automation
490490 if (Patch != value.Patch)
491491 return Patch > value.Patch ? 1 : -1;
492492
493- // SymVer 2.0 standard requires to ignore 'BuildLabel' (Build metadata).
493+ // SemVer 2.0 standard requires to ignore 'BuildLabel' (Build metadata).
494494 return ComparePreLabel(this.PreReleaseLabel, value.PreReleaseLabel);
495495 }
496496
@@ -507,7 +507,7 @@ namespace System.Management.Automation
507507 /// </summary>
508508 public bool Equals(SemanticVersion other)
509509 {
510- // SymVer 2.0 standard requires to ignore 'BuildLabel' (Build metadata).
510+ // SemVer 2.0 standard requires to ignore 'BuildLabel' (Build metadata).
511511 return other != null &&
512512 (Major == other.Major) && (Minor == other.Minor) && (Patch == other.Patch) &&
513513 string.Equals(PreReleaseLabel, other.PreReleaseLabel, StringComparison.Ordinal);
@@ -576,7 +576,7 @@ namespace System.Management.Automation
576576
577577 private static int ComparePreLabel(string preLabel1, string preLabel2)
578578 {
579- // Symver 2.0 standard p.9
579+ // SemVer 2.0 standard p.9
580580 // Pre-release versions have a lower precedence than the associated normal version.
581581 // Comparing each dot separated identifier from left to right
582582 // until a difference is found as follows:
0 commit comments