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