14 references to MultipleVersionSupport
Microsoft.Build.Tasks.Core (7)
ResolveSDKReference.cs (7)
369if (reference.SupportsMultipleVersions != MultipleVersionSupport.Allow && !reference.SimpleName.Equals("Microsoft.VCLibs", StringComparison.InvariantCultureIgnoreCase)) 421if (notCompatibleReference.SupportsMultipleVersions == MultipleVersionSupport.Error) 450if (notCompatibleReference.SupportsMultipleVersions == MultipleVersionSupport.Error) 716private MultipleVersionSupport _supportsMultipleVersions; 742_supportsMultipleVersions = MultipleVersionSupport.Allow; 840public MultipleVersionSupport SupportsMultipleVersions 1161return !String.IsNullOrEmpty(multipleVersionsValue) && Enum.TryParse<MultipleVersionSupport>(multipleVersionsValue, /*ignoreCase*/true, out _supportsMultipleVersions);
Microsoft.Build.Utilities.Core (5)
SDKManifest.cs (5)
68private MultipleVersionSupport _supportsMultipleVersions; 119public MultipleVersionSupport SupportsMultipleVersions => _supportsMultipleVersions; 458private static MultipleVersionSupport ParseSupportMultipleVersions(string multipleVersionsValue) 459=> !string.IsNullOrEmpty(multipleVersionsValue) && Enum.TryParse(multipleVersionsValue, /*ignoreCase*/true, out MultipleVersionSupport supportsMultipleVersions) 461: MultipleVersionSupport.Allow;
Microsoft.Build.Utilities.UnitTests (2)
ToolLocationHelper_Tests.cs (2)
3321sdkManifest.SupportsMultipleVersions.ShouldBe(MultipleVersionSupport.Allow); 3395sdkManifest.SupportsMultipleVersions.ShouldBe(MultipleVersionSupport.Error);