1 write to TargetPlatformVersion
Microsoft.Build.Utilities.Core (1)
TargetPlatformSDK.cs (1)
48
TargetPlatformVersion
= targetPlatformVersion;
13 references to TargetPlatformVersion
Microsoft.Build.Utilities.Core (12)
TargetPlatformSDK.cs (3)
147
public override int GetHashCode() => TargetPlatformIdentifier.ToLowerInvariant().GetHashCode() ^
TargetPlatformVersion
.GetHashCode();
177
return TargetPlatformIdentifier.Equals(other.TargetPlatformIdentifier, StringComparison.OrdinalIgnoreCase) &&
TargetPlatformVersion
.Equals(other.
TargetPlatformVersion
);
ToolLocationHelper.cs (9)
457
extensionSDKsAndVersions[extension.Key] = Tuple.Create<string, string>(extension.Value, moniker.
TargetPlatformVersion
.ToString());
482
&& platformSDK.
TargetPlatformVersion
<= targetPlatformVersion) || platformSDK.ContainsPlatform(targetPlatformIdentifier, targetPlatformVersionString))
483
.OrderBy<TargetPlatformSDK, Version>(platform => platform.
TargetPlatformVersion
);
537
&& platform.
TargetPlatformVersion
<= targetPlatformVersion))
539
.OrderByDescending<TargetPlatformSDK, Version>(platform => platform.
TargetPlatformVersion
)
1347
bool isSDKMatch = string.Equals(sdk.TargetPlatformIdentifier, sdkIdentifier, StringComparison.OrdinalIgnoreCase) && Equals(sdk.
TargetPlatformVersion
, sdkVersion);
1598
&& Equals(platform.
TargetPlatformVersion
, targetPlatformVersion));
2635
targetPlatformSDK = new TargetPlatformSDK(platformSDKKey.TargetPlatformIdentifier, platformSDKKey.
TargetPlatformVersion
, platformSDKManifestExists ? platformSDKDirectory : null);
2755
targetPlatformSDK = new TargetPlatformSDK(platformSDKKey.TargetPlatformIdentifier, platformSDKKey.
TargetPlatformVersion
, platformSDKmanifestExists ? platformSDKDirectory : null);
Microsoft.Build.Utilities.UnitTests (1)
ToolLocationHelper_Tests.cs (1)
3500
filteredSdkList2[2].
TargetPlatformVersion
.ShouldBe(new Version(3, 0));