1 write to TargetPlatformVersion
Microsoft.Build.Utilities.Core (1)
TargetPlatformSDK.cs (1)
47TargetPlatformVersion = targetPlatformVersion;
13 references to TargetPlatformVersion
Microsoft.Build.Utilities.Core (12)
TargetPlatformSDK.cs (3)
146public override int GetHashCode() => TargetPlatformIdentifier.ToLowerInvariant().GetHashCode() ^ TargetPlatformVersion.GetHashCode(); 176return TargetPlatformIdentifier.Equals(other.TargetPlatformIdentifier, StringComparison.OrdinalIgnoreCase) && TargetPlatformVersion.Equals(other.TargetPlatformVersion);
ToolLocationHelper.cs (9)
451extensionSDKsAndVersions[extension.Key] = Tuple.Create<string, string>(extension.Value, moniker.TargetPlatformVersion.ToString()); 476&& platformSDK.TargetPlatformVersion <= targetPlatformVersion) || platformSDK.ContainsPlatform(targetPlatformIdentifier, targetPlatformVersionString)) 477.OrderBy<TargetPlatformSDK, Version>(platform => platform.TargetPlatformVersion); 531&& platform.TargetPlatformVersion <= targetPlatformVersion)) 533.OrderByDescending<TargetPlatformSDK, Version>(platform => platform.TargetPlatformVersion) 1341bool isSDKMatch = string.Equals(sdk.TargetPlatformIdentifier, sdkIdentifier, StringComparison.OrdinalIgnoreCase) && Equals(sdk.TargetPlatformVersion, sdkVersion); 1592&& Equals(platform.TargetPlatformVersion, targetPlatformVersion)); 2628targetPlatformSDK = new TargetPlatformSDK(platformSDKKey.TargetPlatformIdentifier, platformSDKKey.TargetPlatformVersion, platformSDKManifestExists ? platformSDKDirectory : null); 2748targetPlatformSDK = new TargetPlatformSDK(platformSDKKey.TargetPlatformIdentifier, platformSDKKey.TargetPlatformVersion, platformSDKmanifestExists ? platformSDKDirectory : null);
Microsoft.Build.Utilities.UnitTests (1)
ToolLocationHelper_Tests.cs (1)
3505filteredSdkList2[2].TargetPlatformVersion.ShouldBe(new Version(3, 0));