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)
456extensionSDKsAndVersions[extension.Key] = Tuple.Create<string, string>(extension.Value, moniker.TargetPlatformVersion.ToString()); 481&& platformSDK.TargetPlatformVersion <= targetPlatformVersion) || platformSDK.ContainsPlatform(targetPlatformIdentifier, targetPlatformVersionString)) 482.OrderBy<TargetPlatformSDK, Version>(platform => platform.TargetPlatformVersion); 536&& platform.TargetPlatformVersion <= targetPlatformVersion)) 538.OrderByDescending<TargetPlatformSDK, Version>(platform => platform.TargetPlatformVersion) 1346bool isSDKMatch = string.Equals(sdk.TargetPlatformIdentifier, sdkIdentifier, StringComparison.OrdinalIgnoreCase) && Equals(sdk.TargetPlatformVersion, sdkVersion); 1597&& Equals(platform.TargetPlatformVersion, targetPlatformVersion)); 2634targetPlatformSDK = new TargetPlatformSDK(platformSDKKey.TargetPlatformIdentifier, platformSDKKey.TargetPlatformVersion, platformSDKManifestExists ? platformSDKDirectory : null); 2754targetPlatformSDK = 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));