diff --git a/dnSpy/dnSpy.Contracts.Logic/Utilities/FrameworkPath.cs b/dnSpy/dnSpy.Contracts.Logic/Utilities/FrameworkPath.cs
index a40729d1a9..2579b24aa9 100644
--- a/dnSpy/dnSpy.Contracts.Logic/Utilities/FrameworkPath.cs
+++ b/dnSpy/dnSpy.Contracts.Logic/Utilities/FrameworkPath.cs
@@ -192,14 +192,14 @@ public FrameworkVersion(int major, int minor, int patch, string extra) {
Extra = extra;
}
- ///
+ ///
public override string ToString() {
if (Extra.Length == 0)
return $"{Major}.{Minor}.{Patch}";
return $"{Major}.{Minor}.{Patch}-{Extra}";
}
- ///
+ ///
public int CompareTo(FrameworkVersion other) {
int c = Major.CompareTo(other.Major);
if (c != 0)
@@ -223,17 +223,17 @@ static int CompareExtra(string a, string b) {
return StringComparer.Ordinal.Compare(a, b);
}
- ///
+ ///
public bool Equals(FrameworkVersion other) =>
Major == other.Major &&
Minor == other.Minor &&
Patch == other.Patch &&
StringComparer.Ordinal.Equals(Extra, other.Extra);
- ///
+ ///
public override bool Equals(object? obj) => obj is FrameworkVersion other && Equals(other);
- ///
+ ///
public override int GetHashCode() => Major ^ Minor ^ Patch ^ StringComparer.Ordinal.GetHashCode(Extra ?? string.Empty);
}
}