1 instantiation of ProvenanceResult
Microsoft.Build (1)
Definition\Project.cs (1)
2800return 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. 1003public List<ProvenanceResult> GetItemProvenance(string itemToMatch) 1016public List<ProvenanceResult> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext) 1026public List<ProvenanceResult> GetItemProvenance(string itemToMatch, string itemType) 1040public List<ProvenanceResult> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext) 1053public List<ProvenanceResult> GetItemProvenance(ProjectItem item) 1070public List<ProvenanceResult> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext) 2688public override List<ProvenanceResult> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext) 2702public override List<ProvenanceResult> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext) 2719public override List<ProvenanceResult> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext) 2723return new List<ProvenanceResult>(); 2774private List<ProvenanceResult> GetItemProvenance(string itemToMatch, IEnumerable<ProjectItemElement> projectItemElements) 2778return new List<ProvenanceResult>(); 2792private ProvenanceResult ComputeProvenanceResult(string itemToMatch, ProjectItemElement itemElement) 2794ProvenanceResult SingleItemSpecProvenance(string itemSpec, IElementLocation elementLocation, Operation operation) 2806ProvenanceResult result = SingleItemSpecProvenance(itemElement.Include, itemElement.IncludeLocation, Operation.Include);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (3)
146public abstract List<ProvenanceResult> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext); 151public abstract List<ProvenanceResult> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext); 156public abstract List<ProvenanceResult> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext);
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\Project_Tests.cs (2)
4355private static void AssertProvenanceResult(ProvenanceResultTupleList expected, List<ProvenanceResult> actual) 4362var actualProvenance = actual[i];
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (3)
201public override List<ProvenanceResult> GetItemProvenance(string itemToMatch, EvaluationContext evaluationContext) 206public override List<ProvenanceResult> GetItemProvenance(string itemToMatch, string itemType, EvaluationContext evaluationContext) 211public override List<ProvenanceResult> GetItemProvenance(ProjectItem item, EvaluationContext evaluationContext)