1 write to Platforms
Microsoft.Build.Utilities.Core (1)
TargetPlatformSDK.cs (1)
50Platforms = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
10 references to Platforms
Microsoft.Build.Utilities.Core (6)
TargetPlatformSDK.cs (1)
185return Platforms.ContainsKey(sdkKey);
ToolLocationHelper.cs (5)
1162if (!matchingSdk.Platforms.TryGetValue(platformKey, out platformManifestLocation)) 1347if (!isSDKMatch || sdk.Platforms == null) 1352foreach (string platform in sdk.Platforms.Keys) 3051if (!sdk.Platforms.ContainsKey(sdkKey)) 3058sdk.Platforms.Add(sdkKey, FileUtilities.EnsureTrailingSlash(platformVersion.FullName));
Microsoft.Build.Utilities.UnitTests (4)
ToolLocationHelper_Tests.cs (4)
3837targetPlatforms[key].Platforms.Count.ShouldBe(3); 3839targetPlatforms[key].Platforms["PlatformAssembly, Version=0.1.2.3"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "8.0", "Platforms", "PlatformAssembly", "0.1.2.3") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3846targetPlatforms[key].Platforms.Count.ShouldBe(1); 3848targetPlatforms[key].Platforms["PlatformAssembly, Version=0.1.2.3"].ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "9.0", "Platforms", "PlatformAssembly", "0.1.2.3") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);