8 instantiations of SolutionConfigurationInSolution
Microsoft.Build (3)
Construction\Solution\SolutionFile.cs (1)
674var solutionConfiguration = new SolutionConfigurationInSolution(configurationName, platformName);
Construction\Solution\SolutionProjectGenerator.cs (1)
643var configurationInSolution = new SolutionConfigurationInSolution(activeSolutionConfiguration, activeSolutionPlatform);
Graph\GraphBuilder.cs (1)
386return new SolutionConfigurationInSolution(solutionConfiguration, solutionPlatform);
Microsoft.Build.Engine.UnitTests (5)
Graph\GraphLoadedFromSolution_tests.cs (3)
233SolutionConfigurationPlatforms = new[] { new SolutionConfigurationInSolution("Foo", "Bar") }, 240new SolutionConfigurationInSolution("NonMatchingConfiguration", "NonMatchingPlatform"), 244new SolutionConfigurationInSolution("Foo", "NonMatchingPlatform"),
SolutionFileBuilder.cs (2)
28new SolutionConfigurationInSolution("Debug", "AnyCPU"), 29new SolutionConfigurationInSolution("Release", "AnyCPU")
52 references to SolutionConfigurationInSolution
Microsoft.Build (26)
Construction\Solution\ProjectConfigurationInSolution.cs (1)
23FullName = SolutionConfigurationInSolution.ComputeFullName(ConfigurationName, PlatformName);
Construction\Solution\SolutionFile.cs (11)
110private Dictionary<string, SolutionConfigurationInSolution> _solutionConfigurationsByFullName; 265public IReadOnlyList<SolutionConfigurationInSolution> SolutionConfigurations => _solutionConfigurationsByFullName.Values.ToList().AsReadOnly(); 345_solutionConfigurationsByFullName = new Dictionary<string, SolutionConfigurationInSolution>(); 466string configurationName = SolutionConfigurationInSolution.ComputeFullName(solutionBuildType, solutionPlatform); 674var solutionConfiguration = new SolutionConfigurationInSolution(configurationName, platformName); 750_solutionConfigurationsByFullName = new Dictionary<string, SolutionConfigurationInSolution>(); 1678string[] configurationPlatformParts = fullConfigurationName.Split(SolutionConfigurationInSolution.ConfigurationPlatformSeparatorArray); 1760foreach (SolutionConfigurationInSolution solutionConfiguration in _solutionConfigurationsByFullName.Values) 1777string[] configurationPlatformParts = configurationPlatform.Split(SolutionConfigurationInSolution.ConfigurationPlatformSeparatorArray); 1811foreach (SolutionConfigurationInSolution solutionConfiguration in SolutionConfigurations) 1844foreach (SolutionConfigurationInSolution solutionConfiguration in SolutionConfigurations)
Construction\Solution\SolutionProjectGenerator.cs (11)
236internal static void AddPropertyGroupForSolutionConfiguration(ProjectRootElement msbuildProject, SolutionFile solutionFile, SolutionConfigurationInSolution solutionConfiguration) 257internal static string GetSolutionConfiguration(SolutionFile solutionFile, SolutionConfigurationInSolution solutionConfiguration) 362foreach (SolutionConfigurationInSolution solutionConfiguration in solutionFile.SolutionConfigurations) 615private static string GetConditionStringForConfiguration(SolutionConfigurationInSolution configuration) 643var configurationInSolution = new SolutionConfigurationInSolution(activeSolutionConfiguration, activeSolutionPlatform); 665foreach (SolutionConfigurationInSolution configuration in solutionFile.SolutionConfigurations) 876foreach (SolutionConfigurationInSolution solutionConfiguration in _solutionFile.SolutionConfigurations) 1856foreach (SolutionConfigurationInSolution solutionConfiguration in _solutionFile.SolutionConfigurations) 1928foreach (SolutionConfigurationInSolution solutionConfiguration in _solutionFile.SolutionConfigurations) 2241private void AddPropertyGroupForSolutionConfiguration(ProjectRootElement traversalProject, SolutionConfigurationInSolution solutionConfiguration) 2315foreach (SolutionConfigurationInSolution solutionConfiguration in _solutionFile.SolutionConfigurations)
Graph\GraphBuilder.cs (3)
287SolutionConfigurationInSolution currentSolutionConfiguration = SelectSolutionConfiguration(Solution, solutionEntryPoint.GlobalProperties); 376SolutionConfigurationInSolution SelectSolutionConfiguration(SolutionFile solutionFile, IDictionary<string, string> globalProperties) 390SolutionConfigurationInSolution solutionConfig,
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\SolutionFile_Tests.cs (2)
440foreach (SolutionConfigurationInSolution configuration in solution.SolutionConfigurations) 502foreach (SolutionConfigurationInSolution configuration in solution.SolutionConfigurations)
Microsoft.Build.Engine.UnitTests (24)
Construction\SolutionFile_OldParser_Tests.cs (2)
1696foreach (SolutionConfigurationInSolution configuration in solution.SolutionConfigurations) 1756foreach (SolutionConfigurationInSolution configuration in solution.SolutionConfigurations)
Construction\SolutionProjectGenerator_Tests.cs (4)
847foreach (SolutionConfigurationInSolution solutionConfiguration in solution.SolutionConfigurations) 1100foreach (SolutionConfigurationInSolution solutionConfiguration in solution.SolutionConfigurations) 1170foreach (SolutionConfigurationInSolution solutionConfiguration in solution.SolutionConfigurations) 1215foreach (SolutionConfigurationInSolution solutionConfiguration in solution.SolutionConfigurations)
Graph\GraphLoadedFromSolution_tests.cs (12)
180var currentSolutionConfigurationPlatform in SolutionFileBuilder.SolutionConfigurationPlatformsDefaults.Concat(new SolutionConfigurationInSolution[] { null })) 197SolutionConfigurationInSolution currentSolutionConfiguration, 198IReadOnlyCollection<SolutionConfigurationInSolution> solutionConfigurations) 207SolutionConfigurationInSolution currentSolutionConfiguration, 208IReadOnlyCollection<SolutionConfigurationInSolution> solutionConfigurations) 234ProjectConfigurations = new Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> 237"1", new Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution> 662SolutionConfigurationInSolution currentSolutionConfiguration, 663IReadOnlyCollection<SolutionConfigurationInSolution> solutionConfigurations, 664Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> projectConfigurations = null) 705var expectedCurrentConfiguration = currentSolutionConfiguration ?? solutionConfigurations.First();
SolutionFileBuilder.cs (6)
26public static readonly IReadOnlyCollection<SolutionConfigurationInSolution> SolutionConfigurationPlatformsDefaults = new[] 37public IReadOnlyCollection<SolutionConfigurationInSolution> SolutionConfigurationPlatforms { get; set; } = SolutionConfigurationPlatformsDefaults; 39public Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> ProjectConfigurations { get; set; } 88Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> projectConfigurations = null, 181foreach (var solutionConfigurationPlatform in SolutionConfigurationPlatforms) 194var solutionConfiguration = configurationMapping.Key;