3 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)
249
pathsTable.Add(property.Name, new
ProjectImportPathMatch
(property.Name, paths.ToList()));
23 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)
151
private Dictionary<string,
ProjectImportPathMatch
> _propertySearchPathsTable;
255
Dictionary<string,
ProjectImportPathMatch
> importSearchPathsTable = null)
329
internal
ProjectImportPathMatch
GetProjectImportSearchPaths(string expression)
333
return
ProjectImportPathMatch
.None;
336
foreach (
var
searchPath in _propertySearchPathsTable.Values)
344
return
ProjectImportPathMatch
.None;
488
internal Dictionary<string,
ProjectImportPathMatch
> ImportPropertySearchPathsTable => _propertySearchPathsTable;
511
translator.TranslateDictionary(ref _propertySearchPathsTable, StringComparer.OrdinalIgnoreCase,
ProjectImportPathMatch
.FactoryForDeserialization);
Definition\ToolsetConfigurationReader.cs (7)
55
private readonly Dictionary<string, Dictionary<string,
ProjectImportPathMatch
>> _projectImportSearchPathsCache;
73
_projectImportSearchPathsCache = new Dictionary<string, Dictionary<string,
ProjectImportPathMatch
>>(StringComparer.OrdinalIgnoreCase);
206
protected override Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os)
208
Dictionary<string,
ProjectImportPathMatch
> kindToPathsCache;
216
kindToPathsCache = new Dictionary<string,
ProjectImportPathMatch
>();
232
private Dictionary<string,
ProjectImportPathMatch
> ComputeDistinctListOfSearchPaths(ToolsetElement.PropertyElementCollection propertyCollection)
234
var pathsTable = new Dictionary<string,
ProjectImportPathMatch
>();
Definition\ToolsetLocalReader.cs (2)
49
protected override Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os)
51
return new Dictionary<string,
ProjectImportPathMatch
>();
Definition\ToolsetReader.cs (1)
388
protected abstract Dictionary<string,
ProjectImportPathMatch
> GetProjectImportSearchPathsTable(string toolsVersion, string os);
Evaluation\Evaluator.cs (3)
1517
var
fallbackSearchPathMatch = _data.Toolset.GetProjectImportSearchPaths(importElement.Project);
1522
if (fallbackSearchPathMatch.Equals(
ProjectImportPathMatch
.None))
2524
private void ThrowForImportedProjectWithSearchPathsNotFound(
ProjectImportPathMatch
searchPathMatch, ProjectImportElement importElement)