6 instantiations of ProjectImportPathMatch
Microsoft.Build (3)
Definition\ProjectImportPathMatch.cs (2)
23public static readonly ProjectImportPathMatch None = new ProjectImportPathMatch(string.Empty, new List<string>()); 72return new ProjectImportPathMatch(translator);
Definition\ToolsetConfigurationReader.cs (1)
250pathsTable.Add(property.Name, new ProjectImportPathMatch(property.Name, paths.ToList()));
Microsoft.Build.Engine.UnitTests (3)
BackEnd\TaskRegistry_Tests.cs (2)
1903{"a", new ProjectImportPathMatch("a", new List<string> {"b", "c"}) }, 1904{"d", new ProjectImportPathMatch("d", new List<string> {"e", "f"}) }
Definition\Toolset_Tests.cs (1)
111["MSBuildExtensionsPath"] = new ProjectImportPathMatch("MSBuildExtensionsPath", new List<string> { @"c:\foo" })
30 references to ProjectImportPathMatch
Microsoft.Build (25)
Definition\ProjectImportPathMatch.cs (2)
23public static readonly ProjectImportPathMatch None = new ProjectImportPathMatch(string.Empty, new List<string>()); 70internal static ProjectImportPathMatch FactoryForDeserialization(ITranslator translator)
Definition\Toolset.cs (8)
207private Dictionary<string, ProjectImportPathMatch> _propertySearchPathsTable; 310Dictionary<string, ProjectImportPathMatch> importSearchPathsTable = null) 374internal ProjectImportPathMatch GetProjectImportSearchPaths(string expression) 378return ProjectImportPathMatch.None; 381foreach (var searchPath in _propertySearchPathsTable.Values) 389return ProjectImportPathMatch.None; 597internal Dictionary<string, ProjectImportPathMatch> ImportPropertySearchPathsTable => _propertySearchPathsTable; 620translator.TranslateDictionary(ref _propertySearchPathsTable, StringComparer.OrdinalIgnoreCase, ProjectImportPathMatch.FactoryForDeserialization);
Definition\ToolsetConfigurationReader.cs (7)
56private readonly Dictionary<string, Dictionary<string, ProjectImportPathMatch>> _projectImportSearchPathsCache; 74_projectImportSearchPathsCache = new Dictionary<string, Dictionary<string, ProjectImportPathMatch>>(StringComparer.OrdinalIgnoreCase); 207protected override Dictionary<string, ProjectImportPathMatch> GetProjectImportSearchPathsTable(string toolsVersion, string os) 209Dictionary<string, ProjectImportPathMatch> kindToPathsCache; 217kindToPathsCache = new Dictionary<string, ProjectImportPathMatch>(); 233private Dictionary<string, ProjectImportPathMatch> ComputeDistinctListOfSearchPaths(ToolsetElement.PropertyElementCollection propertyCollection) 235var pathsTable = new Dictionary<string, ProjectImportPathMatch>();
Definition\ToolsetLocalReader.cs (2)
52protected override Dictionary<string, ProjectImportPathMatch> GetProjectImportSearchPathsTable(string toolsVersion, string os) 54return new Dictionary<string, ProjectImportPathMatch>();
Definition\ToolsetReader.cs (1)
397protected abstract Dictionary<string, ProjectImportPathMatch> GetProjectImportSearchPathsTable(string toolsVersion, string os);
Definition\ToolsetRegistryReader.cs (2)
278protected override Dictionary<string, ProjectImportPathMatch> GetProjectImportSearchPathsTable(string toolsVersion, string os) 280return new Dictionary<string, ProjectImportPathMatch>();
Evaluation\Evaluator.cs (3)
1498var fallbackSearchPathMatch = _data.Toolset.GetProjectImportSearchPaths(importElement.Project); 1503if (fallbackSearchPathMatch.Equals(ProjectImportPathMatch.None)) 2473private void ThrowForImportedProjectWithSearchPathsNotFound(ProjectImportPathMatch searchPathMatch, ProjectImportElement importElement)
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TaskRegistry_Tests.cs (1)
1901new Dictionary<string, ProjectImportPathMatch>
Definition\Toolset_Tests.cs (1)
109subToolsets, "c:\\foo", "4.0", new Dictionary<string, ProjectImportPathMatch>
Definition\ToolsetConfigurationReader_Tests.cs (3)
566Dictionary<string, ProjectImportPathMatch> pathsTable = toolsets["2.0"].ImportPropertySearchPathsTable; 583private void CheckPathsTable(Dictionary<string, ProjectImportPathMatch> pathsTable, string kind, string[] expectedPaths) 586var paths = pathsTable[kind];