6 instantiations of ProjectImportPathMatch
Microsoft.Build (3)
Definition\ProjectImportPathMatch.cs (2)
23
public static readonly ProjectImportPathMatch None = new
ProjectImportPathMatch
(string.Empty, new List<string>());
72
return new
ProjectImportPathMatch
(translator);
Definition\ToolsetConfigurationReader.cs (1)
250
pathsTable.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)
109
["MSBuildExtensionsPath"] = new
ProjectImportPathMatch
("MSBuildExtensionsPath", new List<string> { @"c:\foo" })
30 references to ProjectImportPathMatch
Microsoft.Build (25)
Definition\ProjectImportPathMatch.cs (2)
23
public static readonly
ProjectImportPathMatch
None = new ProjectImportPathMatch(string.Empty, new List<string>());
70
internal static
ProjectImportPathMatch
FactoryForDeserialization(ITranslator translator)
Definition\Toolset.cs (8)
208
private Dictionary<string,
ProjectImportPathMatch
> _propertySearchPathsTable;
311
Dictionary<string,
ProjectImportPathMatch
> importSearchPathsTable = null)
384
internal
ProjectImportPathMatch
GetProjectImportSearchPaths(string expression)
388
return
ProjectImportPathMatch
.None;
391
foreach (
var
searchPath in _propertySearchPathsTable.Values)
399
return
ProjectImportPathMatch
.None;
607
internal Dictionary<string,
ProjectImportPathMatch
> ImportPropertySearchPathsTable => _propertySearchPathsTable;
630
translator.TranslateDictionary(ref _propertySearchPathsTable, StringComparer.OrdinalIgnoreCase,
ProjectImportPathMatch
.FactoryForDeserialization);
Definition\ToolsetConfigurationReader.cs (7)
56
private readonly Dictionary<string, Dictionary<string,
ProjectImportPathMatch
>> _projectImportSearchPathsCache;
74
_projectImportSearchPathsCache = new Dictionary<string, Dictionary<string,
ProjectImportPathMatch
>>(StringComparer.OrdinalIgnoreCase);
207
protected override Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os)
209
Dictionary<string,
ProjectImportPathMatch
> kindToPathsCache;
217
kindToPathsCache = new Dictionary<string,
ProjectImportPathMatch
>();
233
private Dictionary<string,
ProjectImportPathMatch
> ComputeDistinctListOfSearchPaths(ToolsetElement.PropertyElementCollection propertyCollection)
235
var pathsTable = new Dictionary<string,
ProjectImportPathMatch
>();
Definition\ToolsetLocalReader.cs (2)
51
protected override Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os)
53
return new Dictionary<string,
ProjectImportPathMatch
>();
Definition\ToolsetReader.cs (1)
397
protected abstract Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os);
Definition\ToolsetRegistryReader.cs (2)
277
protected override Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os)
279
return new Dictionary<string,
ProjectImportPathMatch
>();
Evaluation\Evaluator.cs (3)
1512
var
fallbackSearchPathMatch = _data.Toolset.GetProjectImportSearchPaths(importElement.Project);
1517
if (fallbackSearchPathMatch.Equals(
ProjectImportPathMatch
.None))
2490
private void ThrowForImportedProjectWithSearchPathsNotFound(
ProjectImportPathMatch
searchPathMatch, ProjectImportElement importElement)
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TaskRegistry_Tests.cs (1)
1901
new Dictionary<string,
ProjectImportPathMatch
>
Definition\Toolset_Tests.cs (1)
107
subToolsets, "c:\\foo", "4.0", new Dictionary<string,
ProjectImportPathMatch
>
Definition\ToolsetConfigurationReader_Tests.cs (3)
565
Dictionary<string,
ProjectImportPathMatch
> pathsTable = toolsets["2.0"].ImportPropertySearchPathsTable;
582
private void CheckPathsTable(Dictionary<string,
ProjectImportPathMatch
> pathsTable, string kind, string[] expectedPaths)
585
var
paths = pathsTable[kind];