diff --git a/src/Atc/Data/SemVer/SemanticVersion.cs b/src/Atc/Data/SemVer/SemanticVersion.cs index 3b3d6f83..1111e822 100644 --- a/src/Atc/Data/SemVer/SemanticVersion.cs +++ b/src/Atc/Data/SemVer/SemanticVersion.cs @@ -405,7 +405,7 @@ public static SemanticVersion Parse( /// A boolean indicating success of the parse operation. public static bool TryParse( string input, - out SemanticVersion? result) + [NotNullWhen(true)] out SemanticVersion? result) => TryParse(input, looseMode: false, out result); /// @@ -419,7 +419,7 @@ public static bool TryParse( public static bool TryParse( string input, bool looseMode, - out SemanticVersion? result) + [NotNullWhen(true)] out SemanticVersion? result) { try {