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