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)
1157if (!matchingSdk.Platforms.TryGetValue(platformKey, out platformManifestLocation)) 1342if (!isSDKMatch || sdk.Platforms == null) 1347foreach (string platform in sdk.Platforms.Keys) 3045if (!sdk.Platforms.ContainsKey(sdkKey)) 3052sdk.Platforms.Add(sdkKey, FileUtilities.EnsureTrailingSlash(platformVersion.FullName));
Microsoft.Build.Utilities.UnitTests (4)
ToolLocationHelper_Tests.cs (4)
3836targetPlatforms[key].Platforms.Count.ShouldBe(3); 3838targetPlatforms[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); 3845targetPlatforms[key].Platforms.Count.ShouldBe(1); 3847targetPlatforms[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);