1 instantiation of ProvenanceResult
Microsoft.Build (1)
Definition\Project.cs (1)
2800
return matchOccurrences > 0 ? new
ProvenanceResult
(itemElement, operation, provenance, matchOccurrences) : null;
24 references to ProvenanceResult
Microsoft.Build (19)
Definition\Project.cs (16)
1001
/// A list of <see cref="
ProvenanceResult
"/>, sorted in project evaluation order.
1003
public List<
ProvenanceResult
> GetItemProvenance(string itemToMatch)
1016
public List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext)
1026
public List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, string itemType)
1040
public List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext)
1053
public List<
ProvenanceResult
> GetItemProvenance(ProjectItem item)
1070
public List<
ProvenanceResult
> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext)
2688
public override List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext)
2702
public override List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext)
2719
public override List<
ProvenanceResult
> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext)
2723
return new List<
ProvenanceResult
>();
2774
private List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, IEnumerable<ProjectItemElement> projectItemElements)
2778
return new List<
ProvenanceResult
>();
2792
private
ProvenanceResult
ComputeProvenanceResult(string itemToMatch, ProjectItemElement itemElement)
2794
ProvenanceResult
SingleItemSpecProvenance(string itemSpec, IElementLocation elementLocation, Operation operation)
2806
ProvenanceResult
result = SingleItemSpecProvenance(itemElement.Include, itemElement.IncludeLocation, Operation.Include);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (3)
146
public abstract List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext);
151
public abstract List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext);
156
public abstract List<
ProvenanceResult
> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext);
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\Project_Tests.cs (2)
4355
private static void AssertProvenanceResult(ProvenanceResultTupleList expected, List<
ProvenanceResult
> actual)
4362
var
actualProvenance = actual[i];
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (3)
201
public override List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext)
206
public override List<
ProvenanceResult
> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext)
211
public override List<
ProvenanceResult
> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext)