Implemented interface members:
property
EvaluatedInclude
Microsoft.Build.Evaluation.IItem.EvaluatedInclude
property
EvaluatedInclude
Microsoft.Build.Framework.IItemData.EvaluatedInclude
11 writes to EvaluatedInclude
Microsoft.Build (1)
Instance\ProjectItemInstance.cs (1)
302
EvaluatedInclude
= value;
Microsoft.Build.Engine.OM.UnitTests (10)
Instance\ProjectInstance_Tests.cs (7)
737
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).
EvaluatedInclude
= "x"; });
875
Helpers.GetFirst(instance.Items).
EvaluatedInclude
= "new";
899
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).
EvaluatedInclude
= "new"; });
924
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).
EvaluatedInclude
= "new"; });
946
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).
EvaluatedInclude
= "new"; });
963
Helpers.GetFirst(instance.Items).
EvaluatedInclude
= "new";
980
Helpers.GetFirst(instance.Items).
EvaluatedInclude
= "new";
Instance\ProjectItemInstance_Tests.cs (3)
217
item.
EvaluatedInclude
= "i1b";
230
item.
EvaluatedInclude
= String.Empty;
242
item.
EvaluatedInclude
= null;
168 references to EvaluatedInclude
Microsoft.Build (11)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
182
string pluginPath = FileUtilities.NormalizePath(Path.Combine(item.Project.Directory, item.
EvaluatedInclude
));
BackEnd\Components\RequestBuilder\BatchingEngine.cs (1)
267
item.
EvaluatedInclude
, consumedItemName, consumedMetadataReference.MetadataName);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
605
if (specificationsToFind.Contains(item.
EvaluatedInclude
))
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
1034
declaredProjects.Add(FileUtilities.NormalizePath(projectReferenceItem.
EvaluatedInclude
));
BackEnd\Shared\BuildRequestConfiguration.cs (2)
833
if (items.Count == 0 || items.All(i => string.IsNullOrWhiteSpace(i.
EvaluatedInclude
)))
838
var fragments = items.SelectMany(i => ExpressionShredder.SplitSemiColonSeparatedList(i.
EvaluatedInclude
));
Graph\ProjectInterpretation.cs (2)
117
projectReferenceItem.
EvaluatedInclude
,
503
if (projectReferenceTarget.
EvaluatedInclude
.Equals(entryTarget, StringComparison.OrdinalIgnoreCase))
Instance\ProjectInstance.cs (1)
2003
if (string.Equals(item.
EvaluatedInclude
, evaluatedInclude, StringComparison.OrdinalIgnoreCase))
Instance\ProjectItemInstance.cs (2)
295
return
EvaluatedInclude
;
680
item.Include =
EvaluatedInclude
;
Microsoft.Build.Engine.OM.UnitTests (26)
Definition\DefinitionEditing_Tests.cs (4)
168
Assert.Equal("i1", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].
EvaluatedInclude
);
195
Assert.Equal("i(1)", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].
EvaluatedInclude
);
2092
Assert.Equal("i1", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].
EvaluatedInclude
);
2119
Assert.Equal("i(1)", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].
EvaluatedInclude
);
Definition\Project_Tests.cs (5)
686
projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().
EvaluatedInclude
.ShouldBe(Path.Combine(Directory.GetCurrentDirectory(), @"obj\i386\foo.dll"));
691
projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().
EvaluatedInclude
.ShouldBe(Path.Combine(Directory.GetCurrentDirectory(), @"obj/i386/foo.dll"));
722
projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().
EvaluatedInclude
.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar);
758
projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().
EvaluatedInclude
.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar);
797
projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().
EvaluatedInclude
.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory /* remove c:\ */, "obj", "i386"));
Definition\ProjectItem_Tests.cs (1)
3759
var itemB = projectInstance.Items.Single(i => i.ItemType == "B").
EvaluatedInclude
;
Instance\ProjectInstance_Tests.cs (11)
69
Assert.Equal("i0", items[0].
EvaluatedInclude
);
72
Assert.Equal("i1", items[1].
EvaluatedInclude
);
75
Assert.Equal("v1", items[2].
EvaluatedInclude
);
89
Assert.Equal("i1", returned.
EvaluatedInclude
);
94
Assert.Equal("i1", item.
EvaluatedInclude
);
110
Assert.Equal("i;1", returned.
EvaluatedInclude
);
115
Assert.Equal("i;1", item.
EvaluatedInclude
);
140
Assert.Equal("i1", item.
EvaluatedInclude
);
266
Assert.Equal("i1", Helpers.MakeList(project.GetItems("j"))[0].
EvaluatedInclude
);
310
Assert.Equal(file1, Helpers.MakeList(projectInstance.GetItems("i"))[0].
EvaluatedInclude
);
311
Assert.Equal(file2, Helpers.MakeList(projectInstance.GetItems("i"))[1].
EvaluatedInclude
);
Instance\ProjectItemInstance_Tests.cs (5)
84
Assert.Equal("i1", item.
EvaluatedInclude
);
218
Assert.Equal("i1b", item.
EvaluatedInclude
);
330
Assert.Equal(item.
EvaluatedInclude
, taskItem.ItemSpec);
453
Assert.Equal("i1", item.
EvaluatedInclude
);
1184
Assert.Equal(includes[i], items[i].
EvaluatedInclude
);
Microsoft.Build.Engine.UnitTests (118)
BackEnd\BatchingEngine_Tests.cs (1)
113
Assert.Equal("a.foo", items[0].
EvaluatedInclude
);
BackEnd\BuildManager_Tests.cs (2)
539
result.ProjectStateAfterBuild.GetItems("AnItem").ShouldContain(p => p.
EvaluatedInclude
== "Item2");
2274
if (item.
EvaluatedInclude
== "foo")
BackEnd\BuildRequestConfiguration_Tests.cs (2)
381
Assert.Equal("bazfile", instance.ItemsToBuildWith["Baz"].First().
EvaluatedInclude
);
407
Assert.Equal("bazfile", instance.ItemsToBuildWith["Baz"].First().
EvaluatedInclude
);
BackEnd\IntrinsicTask_Tests.cs (54)
252
Assert.Equal("a1", i1Group.First().
EvaluatedInclude
);
253
Assert.Equal("b1", i2Group.First().
EvaluatedInclude
);
726
Assert.Equal("a1", i1Group.First().
EvaluatedInclude
);
752
Assert.Equal("v0", i1Group.First().
EvaluatedInclude
);
824
Assert.Equal("a.cpp", i1Group.First().
EvaluatedInclude
);
825
Assert.Equal("a.obj", i2Group.First().
EvaluatedInclude
);
847
Assert.Equal("a.cpp", i2Group.First().
EvaluatedInclude
);
869
Assert.Equal("a1", i1Group.First().
EvaluatedInclude
);
870
Assert.Equal("b2", i2Group.First().
EvaluatedInclude
);
895
Assert.Equal("a1", i1Group.First().
EvaluatedInclude
);
896
Assert.Equal("b1", i2Group.First().
EvaluatedInclude
);
1004
Assert.Equal("v0", i1Group.First().
EvaluatedInclude
);
1005
Assert.Equal("a2", i2Group.First().
EvaluatedInclude
);
1032
Assert.Equal("a1", i1Group.First().
EvaluatedInclude
);
1033
Assert.Equal("a2", i1Group.ElementAt(1).
EvaluatedInclude
);
1034
Assert.Equal("m1", i2Group.First().
EvaluatedInclude
);
1035
Assert.Equal("m2", i2Group.ElementAt(1).
EvaluatedInclude
);
1066
Assert.Equal("a1", i2Group.First().
EvaluatedInclude
);
1067
Assert.Equal("a2", i2Group.ElementAt(1).
EvaluatedInclude
);
1123
Assert.Equal("b1", i1Group.First().
EvaluatedInclude
);
1124
Assert.Equal("b1", i1Group.ElementAt(1).
EvaluatedInclude
);
1125
Assert.Equal("b1", i1Group.ElementAt(2).
EvaluatedInclude
);
1130
Assert.Equal("m1", i2Group.First().
EvaluatedInclude
);
1131
Assert.Equal("m2", i2Group.ElementAt(1).
EvaluatedInclude
);
1132
Assert.Equal("m3", i2Group.ElementAt(2).
EvaluatedInclude
);
1779
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "a2", "d2" });
1813
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "a2", "d2" });
1857
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "a2", "b2", "c2", "g2" });
1870
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "b2", "c2", "g2" });
1910
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "../foo.txt", "/foo/bar.txt" });
1944
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "a2", "d2" });
1982
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "a2", "c2", "d2" });
2018
items.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { "a2", "b2", "c2", "d2" });
2055
items.ElementAt(0).
EvaluatedInclude
.ShouldBe("a2");
2056
items.ElementAt(1).
EvaluatedInclude
.ShouldBe("c2");
2057
items.ElementAt(2).
EvaluatedInclude
.ShouldBe("d2");
2150
Assert.Equal("a1", i0Group.First().
EvaluatedInclude
);
2151
Assert.Equal("a3", i0Group.ElementAt(1).
EvaluatedInclude
);
2152
Assert.Equal("a4", i0Group.ElementAt(2).
EvaluatedInclude
);
2231
Assert.Equal("x", i1Group.First().
EvaluatedInclude
);
2274
Assert.Equal("A_PCH", linkGroup.First().
EvaluatedInclude
);
2275
Assert.Equal("m1.obj", linkGroup.ElementAt(1).
EvaluatedInclude
);
2276
Assert.Equal("m2", linkGroup.ElementAt(2).
EvaluatedInclude
);
2277
Assert.Equal("m2", linkGroup.ElementAt(3).
EvaluatedInclude
);
2454
Assert.Equal("a1", p.ItemsToBuildWith["i0"].First().
EvaluatedInclude
);
2545
Assert.Equal("other", lookup.GetItems("i1").First().
EvaluatedInclude
);
2967
Assert.Equal("a1", item1.
EvaluatedInclude
);
2968
Assert.Equal("a2", item2.
EvaluatedInclude
);
2997
Assert.Equal("a1", item1.
EvaluatedInclude
);
2998
Assert.Equal("a2", item2.
EvaluatedInclude
);
3046
Assert.Equal("a1", item1.
EvaluatedInclude
);
3047
Assert.Equal("a2", item2.
EvaluatedInclude
);
3077
Assert.Equal("a1", item1.
EvaluatedInclude
);
3078
Assert.Equal("a2", item2.
EvaluatedInclude
);
BackEnd\Lookup_Tests.cs (28)
38
Assert.Equal("a2", lookup.GetItems("i1").First().
EvaluatedInclude
);
39
Assert.Equal("a(2", lookup.GetItems("i2").First().
EvaluatedInclude
);
58
Assert.Equal("a1", lookup.GetItems("i1").First().
EvaluatedInclude
);
59
Assert.Equal("a;1", lookup.GetItems("i2").First().
EvaluatedInclude
);
88
Assert.Equal("a1", lookup.GetItems("i1").First().
EvaluatedInclude
);
92
Assert.Equal("a1", table1["i1"].First().
EvaluatedInclude
);
99
Assert.Equal("a1", lookup.GetItems("i1").First().
EvaluatedInclude
);
103
Assert.Equal("a1", table1["i1"].First().
EvaluatedInclude
);
111
Assert.Equal("a1", lookup.GetItems("i1").First().
EvaluatedInclude
);
112
Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).
EvaluatedInclude
);
116
Assert.Equal("a1", table1["i1"].First().
EvaluatedInclude
);
123
Assert.Equal("a1", lookup.GetItems("i1").First().
EvaluatedInclude
);
124
Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).
EvaluatedInclude
);
128
Assert.Equal("a1", table1["i1"].First().
EvaluatedInclude
);
135
Assert.Equal("a1", lookup.GetItems("i1").First().
EvaluatedInclude
);
136
Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).
EvaluatedInclude
);
140
Assert.Equal("a1", table1["i1"].First().
EvaluatedInclude
);
141
Assert.Equal("a2", table1["i1"].ElementAt(1).
EvaluatedInclude
);
178
Assert.Equal(2, group.Where(item => item.
EvaluatedInclude
== "a1").Count());
180
Assert.Single(group.Where(item => item.
EvaluatedInclude
== "a2"));
190
Assert.Equal(2, group.Where(item => item.
EvaluatedInclude
== "a1").Count());
192
Assert.Single(group.Where(item => item.
EvaluatedInclude
== "a2"));
230
Assert.Equal(4, group.Where(item => item.
EvaluatedInclude
== "a1").Count());
233
Assert.Single(group.Where(item => item.
EvaluatedInclude
== "a2"));
243
Assert.Equal(4, group.Where(item => item.
EvaluatedInclude
== "a1").Count());
246
Assert.Single(group.Where(item => item.
EvaluatedInclude
== "a2"));
272
Assert.Equal("a2", lookup.GetItems("i1").First().
EvaluatedInclude
);
287
Assert.Equal("a1", table1["i1"].First().
EvaluatedInclude
);
BackEnd\TargetUpToDateChecker_Tests.cs (1)
288
Console.WriteLine("Changed: {0}:{1}", itemInstance.ItemType, itemInstance.
EvaluatedInclude
);
BackEnd\TaskExecutionHost_Tests.cs (2)
1303
Assert.Equal(value, _bucket.Lookup.GetItems("output").First().
EvaluatedInclude
);
1329
Assert.Equal(values[i], _bucket.Lookup.GetItems("output").ElementAt(i).
EvaluatedInclude
);
Collections\OMcollections_tests.cs (2)
355
return String.Compare(one.
EvaluatedInclude
, two.
EvaluatedInclude
);
Construction\SolutionProjectGenerator_Tests.cs (2)
1906
Assert.Contains("%abtest", instances[0].GetItems("ProjectReference").ElementAt(0).
EvaluatedInclude
);
2856
if (item.ItemType == itemType && item.
EvaluatedInclude
== include)
Evaluation\Expander_Tests.cs (24)
184
Assert.Equal("i0", items[0].
EvaluatedInclude
);
185
Assert.Equal("i1", items[1].
EvaluatedInclude
);
204
Assert.Equal("i0", items[0].
EvaluatedInclude
);
205
Assert.Equal("i1", items[1].
EvaluatedInclude
);
223
Assert.Equal("true", itemsTrue[0].
EvaluatedInclude
);
229
Assert.Equal("false", itemsFalse[0].
EvaluatedInclude
);
241
pii.
EvaluatedInclude
.ShouldBe("false");
261
Assert.Equal(Path.Combine(s_rootPathPrefix, "firstdirectory", "seconddirectory"), itemsTrue[0].
EvaluatedInclude
);
267
Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), @"seconddirectory"), itemsDir[0].
EvaluatedInclude
);
287
Assert.Equal(Path.Combine("firstdirectory", "seconddirectory") + Path.DirectorySeparatorChar, itemsTrue[5].
EvaluatedInclude
);
293
Assert.Equal(@"file0", itemsTrue[5].
EvaluatedInclude
);
299
Assert.Equal(@".ext", itemsTrue[5].
EvaluatedInclude
);
660
Assert.Equal(Path.Combine("firstdirectory", "seconddirectory") + Path.DirectorySeparatorChar, itemsTrue[5].
EvaluatedInclude
);
666
Assert.Equal(@"file0", itemsTrue[5].
EvaluatedInclude
);
672
Assert.Equal(@".ext", itemsTrue[0].
EvaluatedInclude
);
678
Assert.Equal(@"le0", itemsTrue[5].
EvaluatedInclude
);
698
Assert.Equal(Path.Combine(s_rootPathPrefix, "firstdirectory", "seconddirectory"), itemsTrue[5].
EvaluatedInclude
);
719
Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), @"secondd;rectory"), items[5].
EvaluatedInclude
);
720
Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), @"someo;herplace"), items[6].
EvaluatedInclude
);
4801
var includes = myDirectories.Select(i => i.
EvaluatedInclude
);
4845
var includes = myDirectories.Select(i => i.
EvaluatedInclude
);
4877
squiggles.Select(i => i.
EvaluatedInclude
).ShouldBe(new[]
4923
squiggleItems.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { alphaOnePath, alphaThreePath }, Case.Insensitive);
4964
squiggleItems.Select(i => i.
EvaluatedInclude
).ShouldBe(new[] { alphaBetaPath, alphaDeltaPath }, Case.Insensitive);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (7)
TargetTests.cs (7)
564
Assert.Equal("file1.cs", noneItems[0].
EvaluatedInclude
);
567
Assert.Equal("file2.cs", noneItems[1].
EvaluatedInclude
);
570
Assert.Equal("file3.cs", noneItems[2].
EvaluatedInclude
);
835
Assert.Equal(expectedLastBuildWithSkipAnalyzers, items.Single().
EvaluatedInclude
);
845
Assert.Equal(expectedLastBuildWithSkipAnalyzers, item.
EvaluatedInclude
);
876
var caps = instance.GetItems("ProjectCapability").Select(c => c.
EvaluatedInclude
);
894
var caps = instance.GetItems("ProjectCapability").Select(c => c.
EvaluatedInclude
);
Microsoft.Build.Tasks.UnitTests (1)
CallTarget_Tests.cs (1)
186
targetOutputsTaskItems.Add(new TaskItem(item.
EvaluatedInclude
));
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
238
public string EvaluatedInclude => _projectInstance.
EvaluatedInclude
;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
MSBuild\ProjectFile\Extensions.cs (3)
43
var name = item.
EvaluatedInclude
;
56
=> new(reference.
EvaluatedInclude
, reference.GetAliases(), reference.ReferenceOutputAssemblyIsTrue());
103
builder.Append(item.
EvaluatedInclude
);
MSBuild\ProjectFile\ProjectFile.cs (1)
139
var intermediateOutputFilePath = project.GetItems(ItemNames.IntermediateAssembly).FirstOrDefault()?.
EvaluatedInclude
;