Skip to content

Commit 69e2000

Browse files
committed
rename Parse method to TryParse
1 parent 99ae520 commit 69e2000

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionPreReleaseTag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ public static implicit operator string(SemanticVersionPreReleaseTag preReleaseTa
8484

8585
public static implicit operator SemanticVersionPreReleaseTag(string preReleaseTag)
8686
{
87-
return Parse(preReleaseTag);
87+
return TryParse(preReleaseTag);
8888
}
8989

90-
public static SemanticVersionPreReleaseTag Parse(string preReleaseTag)
90+
public static SemanticVersionPreReleaseTag TryParse(string preReleaseTag)
9191
{
9292
if (string.IsNullOrEmpty(preReleaseTag))
9393
{

0 commit comments

Comments
 (0)