1 write to Platforms
Microsoft.Build.Utilities.Core (1)
TargetPlatformSDK.cs (1)
51Platforms = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
10 references to Platforms
Microsoft.Build.Utilities.Core (6)
TargetPlatformSDK.cs (1)
186return Platforms.ContainsKey(sdkKey);
ToolLocationHelper.cs (5)
1163if (!matchingSdk.Platforms.TryGetValue(platformKey, out platformManifestLocation)) 1348if (!isSDKMatch || sdk.Platforms == null) 1353foreach (string platform in sdk.Platforms.Keys) 3052if (!sdk.Platforms.ContainsKey(sdkKey)) 3059sdk.Platforms.Add(sdkKey, FileUtilities.EnsureTrailingSlash(platformVersion.FullName));
Microsoft.Build.Utilities.UnitTests (4)
ToolLocationHelper_Tests.cs (4)
3831targetPlatforms[key].Platforms.Count.ShouldBe(3); 3833targetPlatforms[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); 3840targetPlatforms[key].Platforms.Count.ShouldBe(1); 3842targetPlatforms[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);