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)
1158if (!matchingSdk.Platforms.TryGetValue(platformKey, out platformManifestLocation)) 1343if (!isSDKMatch || sdk.Platforms == null) 1348foreach (string platform in sdk.Platforms.Keys) 3046if (!sdk.Platforms.ContainsKey(sdkKey)) 3053sdk.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);