1 write to TargetPlatformIdentifier
Microsoft.Build.Utilities.Core (1)
TargetPlatformSDK.cs (1)
46TargetPlatformIdentifier = targetPlatformIdentifier;
12 references to TargetPlatformIdentifier
Microsoft.Build.Utilities.Core (11)
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 (8)
472string.IsNullOrEmpty(platformSDK.TargetPlatformIdentifier) 475platformSDK.TargetPlatformIdentifier.Equals(targetPlatformIdentifier, StringComparison.OrdinalIgnoreCase) 528string.IsNullOrEmpty(platform.TargetPlatformIdentifier) 530(platform.TargetPlatformIdentifier.Equals(targetPlatformIdentifier, StringComparison.OrdinalIgnoreCase) 1341bool isSDKMatch = string.Equals(sdk.TargetPlatformIdentifier, sdkIdentifier, StringComparison.OrdinalIgnoreCase) && Equals(sdk.TargetPlatformVersion, sdkVersion); 1591string.Equals(platform.TargetPlatformIdentifier, targetPlatformIdentifier, StringComparison.OrdinalIgnoreCase) 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[0].TargetPlatformIdentifier.ShouldBe("MyPlatform");