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)
111
["MSBuildExtensionsPath"] = new
ProjectImportPathMatch
("MSBuildExtensionsPath", new List<string> { @"c:\foo" })
28 references to ProjectImportPathMatch
Microsoft.Build (23)
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)
207
private Dictionary<string,
ProjectImportPathMatch
> _propertySearchPathsTable;
310
Dictionary<string,
ProjectImportPathMatch
> importSearchPathsTable = null)
374
internal
ProjectImportPathMatch
GetProjectImportSearchPaths(string expression)
378
return
ProjectImportPathMatch
.None;
381
foreach (
var
searchPath in _propertySearchPathsTable.Values)
389
return
ProjectImportPathMatch
.None;
597
internal Dictionary<string,
ProjectImportPathMatch
> ImportPropertySearchPathsTable => _propertySearchPathsTable;
620
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)
52
protected override Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os)
54
return new Dictionary<string,
ProjectImportPathMatch
>();
Definition\ToolsetReader.cs (1)
397
protected abstract Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os);
Evaluation\Evaluator.cs (3)
1498
var
fallbackSearchPathMatch = _data.Toolset.GetProjectImportSearchPaths(importElement.Project);
1503
if (fallbackSearchPathMatch.Equals(
ProjectImportPathMatch
.None))
2473
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)
109
subToolsets, "c:\\foo", "4.0", new Dictionary<string,
ProjectImportPathMatch
>
Definition\ToolsetConfigurationReader_Tests.cs (3)
566
Dictionary<string,
ProjectImportPathMatch
> pathsTable = toolsets["2.0"].ImportPropertySearchPathsTable;
583
private void CheckPathsTable(Dictionary<string,
ProjectImportPathMatch
> pathsTable, string kind, string[] expectedPaths)
586
var
paths = pathsTable[kind];