From d9828fe9378c3f188eb0ed2bd65d41b07336ae02 Mon Sep 17 00:00:00 2001 From: Oisin Grehan Date: Tue, 11 Jul 2017 13:56:28 -0400 Subject: [PATCH] Add 'semver' as core (contrained-safe) accelerator for S.M.A.SemanticVersion (#4142) --- src/System.Management.Automation/engine/parser/TypeResolver.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/System.Management.Automation/engine/parser/TypeResolver.cs b/src/System.Management.Automation/engine/parser/TypeResolver.cs index e484596a77..5e79aa4945 100644 --- a/src/System.Management.Automation/engine/parser/TypeResolver.cs +++ b/src/System.Management.Automation/engine/parser/TypeResolver.cs @@ -804,6 +804,7 @@ namespace System.Management.Automation { typeof(XmlDocument), new[] { "xml" } }, { typeof(CimSession), new[] { "CimSession" } }, { typeof(MailAddress), new[] { "mailaddress" } }, + { typeof(SemanticVersion), new[] { "semver" } }, #if !CORECLR // Following types not in CoreCLR { typeof(DirectoryEntry), new[] { "adsi" } },