summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-01-25 22:30:07 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-01-25 22:30:07 -0500
commit8db280d8748c9285e79df9694f5056e38cce89af (patch)
tree8429927456f9d0d06b48d8663bb41669dd9fd018 /src/StardewModdingAPI
parent08e9cd1263bd985259accab8a76655b533427097 (diff)
downloadSMAPI-8db280d8748c9285e79df9694f5056e38cce89af.tar.gz
SMAPI-8db280d8748c9285e79df9694f5056e38cce89af.tar.bz2
SMAPI-8db280d8748c9285e79df9694f5056e38cce89af.zip
expose SemanticVersion constructor that parses a string
Diffstat (limited to 'src/StardewModdingAPI')
-rw-r--r--src/StardewModdingAPI/SemanticVersion.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/SemanticVersion.cs b/src/StardewModdingAPI/SemanticVersion.cs
index daefda51..c29f2cf7 100644
--- a/src/StardewModdingAPI/SemanticVersion.cs
+++ b/src/StardewModdingAPI/SemanticVersion.cs
@@ -56,7 +56,7 @@ namespace StardewModdingAPI
/// <summary>Construct an instance.</summary>
/// <param name="version">The semantic version string.</param>
/// <exception cref="FormatException">The <paramref name="version"/> is not a valid semantic version.</exception>
- internal SemanticVersion(string version)
+ public SemanticVersion(string version)
{
var match = SemanticVersion.Regex.Match(version);
if (!match.Success)