11 instantiations of SubToolset
Microsoft.Build (2)
Definition\SubToolset.cs (1)
94SubToolset subToolset = new SubToolset(translator);
Definition\ToolsetReader.cs (1)
480subToolsets[subToolsetVersion] = new SubToolset(subToolsetVersion, subToolsetProperties);
Microsoft.Build.Engine.UnitTests (9)
BackEnd\TaskRegistry_Tests.cs (2)
1896{"1.0", new SubToolset("1.0", new PropertyDictionary<ProjectPropertyInstance>(subToolsetProperties)) }, 1897{"2.0", new SubToolset("2.0", new PropertyDictionary<ProjectPropertyInstance>(subToolsetProperties)) }
Definition\Toolset_Tests.cs (5)
106subToolsets.Add("dogfood", new SubToolset("dogfood", subToolsetProperties)); 535subToolsets.Add("12.0", new SubToolset("12.0", subToolset12Properties)); 536subToolsets.Add("v11.0", new SubToolset("v11.0", subToolset11Properties)); 537subToolsets.Add("FakeSubToolset", new SubToolset("FakeSubToolset", fakeSubToolsetProperties)); 538subToolsets.Add("v13.0", new SubToolset("v13.0", subToolset13Properties));
Evaluation\Evaluator_Tests.cs (2)
5144subToolsets.Add("FakeSubToolset", new SubToolset("FakeSubToolset", fakeSubToolsetProperties)); 5145subToolsets.Add("11.0", new SubToolset("11.0", subToolset11Properties));
27 references to SubToolset
Microsoft.Build (18)
Definition\SubToolset.cs (2)
92internal static SubToolset FactoryForDeserialization(ITranslator translator) 94SubToolset subToolset = new SubToolset(translator);
Definition\Toolset.cs (13)
196private Dictionary<string, SubToolset> _subToolsets; 249public Toolset(string toolsVersion, string toolsPath, IDictionary<string, string> buildProperties, ProjectCollection projectCollection, IDictionary<string, SubToolset> subToolsets, string msbuildOverrideTasksPath) 297/// <param name="subToolsets">A list of <see cref="SubToolset"/> to use.</param> 307IDictionary<string, SubToolset> subToolsets, 322Dictionary<string, SubToolset> subToolsetsAsDictionary = subToolsets as Dictionary<string, SubToolset>; 323_subToolsets = subToolsetsAsDictionary ?? new Dictionary<string, SubToolset>(subToolsets); 450public IDictionary<string, SubToolset> SubToolsets 456return ReadOnlyEmptyDictionary<string, SubToolset>.Instance; 459return new ObjectModel.ReadOnlyDictionary<string, SubToolset>(_subToolsets); 617translator.TranslateDictionary(ref _subToolsets, StringComparer.OrdinalIgnoreCase, SubToolset.FactoryForDeserialization); 666SubToolset subToolset; 927SubToolset subToolset;
Definition\ToolsetReader.cs (2)
459Dictionary<string, SubToolset> subToolsets = new Dictionary<string, SubToolset>(StringComparer.OrdinalIgnoreCase);
Evaluation\Evaluator.cs (1)
1232if (_data.Toolset.SubToolsets.TryGetValue(_data.SubToolsetVersion, out SubToolset subToolset))
Microsoft.Build.Engine.UnitTests (9)
BackEnd\TaskRegistry_Tests.cs (1)
1894new Dictionary<string, SubToolset>
Definition\Toolset_Tests.cs (6)
105Dictionary<string, SubToolset> subToolsets = new Dictionary<string, SubToolset>(StringComparer.OrdinalIgnoreCase); 132SubToolset subToolset1 = t.SubToolsets[key]; 133SubToolset subToolset2 = null; 513Dictionary<string, SubToolset> subToolsets = new Dictionary<string, SubToolset>(StringComparer.OrdinalIgnoreCase);
Evaluation\Evaluator_Tests.cs (2)
5132Dictionary<string, SubToolset> subToolsets = new Dictionary<string, SubToolset>(StringComparer.OrdinalIgnoreCase);