96 references to Provenance
Microsoft.Build (9)
Definition\Project.cs (9)
2799
int matchOccurrences = ItemMatchesInItemSpec(itemToMatch, expandedItemSpec, out
Provenance
provenance);
2819
private static int ItemMatchesInItemSpec(string itemToMatch, EvaluationItemSpec itemSpec, out
Provenance
provenance)
2821
provenance =
Provenance
.Undefined;
2828
provenance |=
Provenance
.StringLiteral;
2832
provenance |=
Provenance
.Glob;
2836
provenance |=
Provenance
.Inconclusive;
2846
provenance |=
Provenance
.Inconclusive;
4750
public
Provenance
Provenance { get; }
4760
public ProvenanceResult(ProjectItemElement itemElement, Operation operation,
Provenance
provenance, int occurrences)
Microsoft.Build.Engine.OM.UnitTests (87)
Definition\Project_Tests.cs (87)
24
using ProvenanceResultTupleList = System.Collections.Generic.List<(string, Microsoft.Build.Evaluation.Operation, Microsoft.Build.Evaluation.
Provenance
, int)>;
2739
("A", Operation.Include,
Provenance
.StringLiteral, 1),
2740
("B", Operation.Exclude,
Provenance
.StringLiteral, 1)
2775
("A", Operation.Include,
Provenance
.Glob, 1),
2798
("A", Operation.Include,
Provenance
.Glob, 1),
2799
("B", Operation.Exclude,
Provenance
.Glob, 1)
2819
("A", Operation.Include,
Provenance
.Glob, 1),
2826
("B", Operation.Include,
Provenance
.Glob, 1),
2850
expected.Add(($"i_{i}", Operation.Include,
Provenance
.StringLiteral, 1));
2873
("A", Operation.Include,
Provenance
.Glob, 1),
2874
("B", Operation.Exclude,
Provenance
.Glob, 1)
2906
("A", Operation.Exclude,
Provenance
.Glob, 1)
2943
("A", Operation.Include,
Provenance
.Glob |
Provenance
.StringLiteral, 3),
2944
("B", Operation.Exclude,
Provenance
.Glob |
Provenance
.StringLiteral, 4)
2966
("B", Operation.Include,
Provenance
.Glob |
Provenance
.StringLiteral, 2),
2967
("B", Operation.Exclude,
Provenance
.Glob |
Provenance
.StringLiteral, 2)
2991
("A", Operation.Include,
Provenance
.StringLiteral, 2),
2992
("A", Operation.Update,
Provenance
.StringLiteral, 1),
2993
("A", Operation.Update,
Provenance
.Glob, 1),
2994
("A", Operation.Update,
Provenance
.StringLiteral |
Provenance
.Glob, 2)
3011
("A", Operation.Include,
Provenance
.StringLiteral, 1)
3028
("A", Operation.Include,
Provenance
.StringLiteral, 1)
3059
("A", Operation.Include,
Provenance
.StringLiteral, 1),
3060
("A", Operation.Update,
Provenance
.StringLiteral, 2),
3061
("A", Operation.Update,
Provenance
.StringLiteral |
Provenance
.Glob, 2)
3093
("B", Operation.Include,
Provenance
.StringLiteral, 1),
3094
("A", Operation.Exclude,
Provenance
.Inconclusive |
Provenance
.StringLiteral, 3)
3119
("B", Operation.Include,
Provenance
.StringLiteral, 1),
3120
("A", Operation.Include,
Provenance
.Inconclusive |
Provenance
.StringLiteral, 3),
3121
("C", Operation.Include,
Provenance
.Inconclusive, 3)
3145
("B", Operation.Include,
Provenance
.StringLiteral, 1),
3146
("A", Operation.Include,
Provenance
.Inconclusive |
Provenance
.Glob, 3)
3173
("B", Operation.Include,
Provenance
.StringLiteral |
Provenance
.Inconclusive, 1),
3174
("C", Operation.Include,
Provenance
.StringLiteral, 1)
3244
("A", Operation.Include,
Provenance
.StringLiteral, 3)
3258
("B", Operation.Include,
Provenance
.StringLiteral, 1)
3288
("A", Operation.Include,
Provenance
.StringLiteral, 1),
3289
("B", Operation.Include,
Provenance
.StringLiteral |
Provenance
.Inconclusive, 1)
3314
expected.Add(("A", Operation.Include,
Provenance
.StringLiteral, 1));
3350
("A", Operation.Include,
Provenance
.StringLiteral, 1)
3379
("A", Operation.Include,
Provenance
.StringLiteral |
Provenance
.Glob, 3),
3380
("A", Operation.Update,
Provenance
.StringLiteral |
Provenance
.Glob, 3),
3381
("A", Operation.Remove,
Provenance
.StringLiteral |
Provenance
.Glob, 3)
3398
("A", Operation.Include,
Provenance
.StringLiteral, 1),
3399
("A", Operation.Update,
Provenance
.StringLiteral, 1),
3400
("A", Operation.Remove,
Provenance
.StringLiteral, 1)
3431
("A", Operation.Include,
Provenance
.Glob, 1),
3432
("A", Operation.Update,
Provenance
.Glob, 1),
3433
("A", Operation.Remove,
Provenance
.Glob, 1)
3457
("A", Operation.Include,
Provenance
.Glob, 1),
3458
("A", Operation.Update,
Provenance
.Glob, 1),
3459
("A", Operation.Remove,
Provenance
.Glob, 1)
3469
("A", Operation.Include,
Provenance
.Glob, 1),
3470
("A", Operation.Update,
Provenance
.Glob, 1),
3471
("A", Operation.Remove,
Provenance
.Glob, 1)
3481
("A", Operation.Include,
Provenance
.Glob, 1),
3482
("A", Operation.Update,
Provenance
.Glob, 1),
3483
("A", Operation.Remove,
Provenance
.Glob, 1)
3516
("A", Operation.Include,
Provenance
.StringLiteral, 1),
3517
("C", Operation.Update,
Provenance
.StringLiteral, 1),
3518
("D", Operation.Update,
Provenance
.StringLiteral |
Provenance
.Glob, 2),
3519
("E", Operation.Update,
Provenance
.Glob |
Provenance
.Inconclusive, 3)
3546
("A", Operation.Include,
Provenance
.StringLiteral, 1),
3547
("C", Operation.Remove,
Provenance
.StringLiteral, 1),
3548
("D", Operation.Remove,
Provenance
.StringLiteral |
Provenance
.Glob, 2),
3549
("E", Operation.Remove,
Provenance
.Glob |
Provenance
.Inconclusive, 3)
3579
var
provenanceKind = includeGlob.IndexOfAny(new[] { '*', '?' }) != -1 ?
Provenance
.Glob :
Provenance
.StringLiteral;