Implemented interface member:
property
EvaluatedValue
Microsoft.Build.Evaluation.IProperty.EvaluatedValue
15 writes to EvaluatedValue
Microsoft.Build.Engine.OM.UnitTests (15)
Instance\ProjectInstance_Tests.cs (11)
814
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).
EvaluatedValue
= "v2"; });
825
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.GetProperty("p1").
EvaluatedValue
= "v2"; });
891
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.GetProperty("g").
EvaluatedValue
= "v2"; });
895
instance.GetProperty(NativeMethodsShared.IsWindows ? "username" : "USER").
EvaluatedValue
=
898
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).
EvaluatedValue
= "v2"; });
916
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.GetProperty("g").
EvaluatedValue
= "v2"; });
920
instance.GetProperty(NativeMethodsShared.IsWindows ? "username" : "USER").
EvaluatedValue
=
923
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).
EvaluatedValue
= "v2"; });
938
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.GetProperty("g").
EvaluatedValue
= "v2"; });
942
instance.GetProperty(NativeMethodsShared.IsWindows ? "username" : "USER").
EvaluatedValue
=
945
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).
EvaluatedValue
= "v2"; });
Instance\ProjectPropertyInstance_Tests.cs (4)
37
property.
EvaluatedValue
= "v2";
48
property.
EvaluatedValue
= "v!2";
59
property.
EvaluatedValue
= String.Empty;
72
property.
EvaluatedValue
= null;
92 references to EvaluatedValue
Microsoft.Build (30)
BackEnd\BuildManager\BuildManager.cs (1)
1286
submission.BuildRequestData.ProjectInstance!.GetProperty(ReservedPropertyNames.projectDirectory)!.
EvaluatedValue
,
BackEnd\Components\Logging\ProjectLoggingContext.cs (3)
214
properties = projectProperties.GetCopyOnReadEnumerable(property => new DictionaryEntry(property.Name, property.
EvaluatedValue
));
218
properties = projectProperties.Filter(p => p is not EnvironmentDerivedProjectPropertyInstance || EnvironmentUtilities.IsWellKnownEnvironmentDerivedProperty(p.Name), p => new DictionaryEntry(p.Name, p.
EvaluatedValue
));
241
properties = projectPropertiesToSerialize.Select((ProjectPropertyInstance property) => new DictionaryEntry(property.Name, property.
EvaluatedValue
));
BackEnd\Components\ProjectCache\ProjectCacheService.cs (4)
332
globalProperties.Add(property.Name, property.
EvaluatedValue
);
426
string? designTimeBuild = buildRequestConfiguration.GlobalProperties[DesignTimeProperties.DesignTimeBuild]?.
EvaluatedValue
;
427
string? buildingProject = buildRequestConfiguration.GlobalProperties[DesignTimeProperties.BuildingProject]?.
EvaluatedValue
;
631
globalProperties.Add(property.Name, property.
EvaluatedValue
);
BackEnd\Components\RequestBuilder\FullTracking.cs (1)
100
tlogRelativeDirectoryValue = tlogRelativeDirectoryProperty.
EvaluatedValue
;
BackEnd\Components\RequestBuilder\Lookup.cs (1)
221
errorMessages.Add(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("PropertyOutputOverridden", propertyName, EscapingUtilities.UnescapeAll(propertyValue), property.
EvaluatedValue
));
BackEnd\Components\Scheduler\Scheduler.cs (2)
2047
return string.Join("; ", configuration.GlobalProperties.Select<ProjectPropertyInstance, string>(p => $"{p.Name}={p.
EvaluatedValue
}"));
2723
file.WriteLine("{0} = \"{1}\"", property.Name, property.
EvaluatedValue
);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
1228
if (string.Equals(lookup.GetProperty(key)?.
EvaluatedValue
, "true", StringComparison.OrdinalIgnoreCase))
1232
else if (string.Equals(lookup.GetProperty(metadataKey)?.
EvaluatedValue
, "true", StringComparison.OrdinalIgnoreCase))
Construction\Solution\SolutionProjectGenerator.cs (2)
753
_selectedSolutionConfiguration = String.Format(CultureInfo.InvariantCulture, "{0}|{1}", traversalInstance.GetProperty("Configuration").
EvaluatedValue
, traversalInstance.GetProperty("Platform").
EvaluatedValue
);
Definition\Toolset.cs (3)
758
return subToolsetProperty.
EvaluatedValue
;
790
return visualStudioVersionProperty.
EvaluatedValue
;
801
return visualStudioVersionProperty.
EvaluatedValue
;
Definition\ToolsetReader.cs (1)
423
initialPropertiesClone.GetProperty(p)?.
EvaluatedValue
);
Evaluation\Evaluator.cs (4)
261
_isRunningInVisualStudio = String.Equals("true", _data.GlobalPropertiesDictionary.GetProperty("BuildingInsideVisualStudio")?.
EvaluatedValue
, StringComparison.OrdinalIgnoreCase);
265
_interactive = interactive || String.Equals("true", _data.GlobalPropertiesDictionary.GetProperty("NuGetInteractive")?.
EvaluatedValue
, StringComparison.OrdinalIgnoreCase);
797
int hash = (configurationData != null) ? configurationData.
EvaluatedValue
.GetHashCode() : 0;
804
propertyDump += entry.Name + "=" + entry.
EvaluatedValue
+ "\n";
Instance\ProjectInstance.cs (4)
2307
if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].
EvaluatedValue
, property.
EvaluatedValue
, StringComparison.OrdinalIgnoreCase))
2309
if (!_environmentVariableProperties.Contains(property.Name) || !String.Equals(_environmentVariableProperties[property.Name].
EvaluatedValue
, property.
EvaluatedValue
, StringComparison.OrdinalIgnoreCase))
Instance\ProjectPropertyInstance.cs (1)
309
property.Value =
EvaluatedValue
;
Utilities\Utilities.cs (1)
538
localAppData = localAppDataProp.
EvaluatedValue
;
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\ProjectCollection_Tests.cs (1)
1498
Assert.Equal(ProjectCollection.Unescape(propertyValue), property.
EvaluatedValue
);
Instance\ProjectPropertyInstance_Tests.cs (4)
27
Assert.Equal("v1", property.
EvaluatedValue
);
38
Assert.Equal("v2", property.
EvaluatedValue
);
49
Assert.Equal("v!2", property.
EvaluatedValue
);
60
Assert.Equal(String.Empty, property.
EvaluatedValue
);
Microsoft.Build.Engine.UnitTests (55)
BackEnd\BuildRequestConfiguration_Tests.cs (6)
373
Assert.Equal("1", instance.PropertiesToBuildWith["One"].
EvaluatedValue
);
374
Assert.Equal("2", instance.PropertiesToBuildWith["Two"].
EvaluatedValue
);
375
Assert.Equal("3", instance.PropertiesToBuildWith["Three"].
EvaluatedValue
);
401
Assert.Equal("1", instance.PropertiesToBuildWith["One"].
EvaluatedValue
);
402
Assert.Equal("2", instance.PropertiesToBuildWith["Two"].
EvaluatedValue
);
403
Assert.Equal("3", instance.PropertiesToBuildWith["Three"].
EvaluatedValue
);
BackEnd\IntrinsicTask_Tests.cs (15)
45
Assert.Equal("v1", properties["p1"].
EvaluatedValue
);
46
Assert.Equal("v2", properties["p2"].
EvaluatedValue
);
65
Assert.Equal("v1", properties["p1"].
EvaluatedValue
);
137
Assert.Equal("", properties["p1"].
EvaluatedValue
);
978
Assert.Equal("v0", properties["p0"].
EvaluatedValue
);
979
Assert.Equal("v0", properties["p1"].
EvaluatedValue
);
1153
Assert.Equal("v2", properties["p1"].
EvaluatedValue
);
1154
Assert.Equal("#v1#", properties["p2"].
EvaluatedValue
);
1204
Assert.Equal("n2", lookup.GetProperty("p1").
EvaluatedValue
);
1281
Assert.Equal("v0", p.GetProperty("global").
EvaluatedValue
);
1287
Assert.Equal("v2", p.GetProperty("global").
EvaluatedValue
);
1291
Assert.Equal("v0", p.GetProperty("global").
EvaluatedValue
);
1315
string value = p.GetProperty("p").
EvaluatedValue
;
1320
value = p.GetProperty("p").
EvaluatedValue
;
2189
string p1 = lookup.GetProperty("p1").
EvaluatedValue
;
BackEnd\Lookup_Tests.cs (8)
1255
Assert.Equal("v2", lookup.GetProperty("p1").
EvaluatedValue
);
1256
Assert.Equal("v1", group["p1"].
EvaluatedValue
);
1264
Assert.Equal("v3", lookup.GetProperty("p1").
EvaluatedValue
);
1265
Assert.Equal("v1", group["p1"].
EvaluatedValue
);
1272
Assert.Equal("v4", lookup.GetProperty("p1").
EvaluatedValue
);
1276
Assert.Equal("v4", lookup.GetProperty("p1").
EvaluatedValue
);
1283
Assert.Equal("v4", lookup.GetProperty("p1").
EvaluatedValue
);
1284
Assert.Equal("v4", group["p1"].
EvaluatedValue
);
BackEnd\TaskExecutionHost_Tests.cs (1)
1357
Assert.Equal(value, _bucket.Lookup.GetProperty("output").
EvaluatedValue
);
Collections\OMcollections_tests.cs (2)
48
Assert.Equal("v1", properties["p1"].
EvaluatedValue
);
49
Assert.Equal("v3", properties["p2"].
EvaluatedValue
);
Definition\Toolset_Tests.cs (7)
125
Assert.Equal(t.Properties[key].
EvaluatedValue
, t2.Properties[key].
EvaluatedValue
);
143
Assert.Equal(subToolset1.Properties[subToolsetPropertyKey].
EvaluatedValue
, subToolset2.Properties[subToolsetPropertyKey].
EvaluatedValue
);
475
Assert.Equal("a1", t.GetProperty("a", "v11.0").
EvaluatedValue
); // property in base toolset
476
Assert.Equal("c2", t.GetProperty("c", "v11.0").
EvaluatedValue
); // property in sub-toolset
477
Assert.Equal("b2", t.GetProperty("b", "v11.0").
EvaluatedValue
); // property in sub-toolset that overrides base toolset
Evaluation\ToolsetConfigurationNet5_Tests.cs (2)
37
toolsetProperties[properties.Value.Name] = properties.Value.
EvaluatedValue
;
64
toolsetProperties[properties.Value.Name] = properties.Value.
EvaluatedValue
;
Instance\ProjectInstance_Internal_Tests.cs (5)
270
p.GlobalPropertiesDictionary["g1"].
EvaluatedValue
.ShouldBe("v1");
271
p.GlobalPropertiesDictionary["g2"].
EvaluatedValue
.ShouldBe("v2");
504
second.GlobalPropertiesDictionary["g1"].
EvaluatedValue
.ShouldBe("v1");
505
second.GlobalPropertiesDictionary["g2"].
EvaluatedValue
.ShouldBe("v2");
1037
template.Properties.ToDictionary(p => p.Key, p => p.Value.
EvaluatedValue
),
Instance\ProjectPropertyInstance_Internal_Tests.cs (7)
32
Assert.Equal("v1", clone.
EvaluatedValue
);
48
Assert.Equal(property.
EvaluatedValue
, deserializedProperty.
EvaluatedValue
);
65
Assert.Equal(property.
EvaluatedValue
, deserializedProperty.
EvaluatedValue
);
84
Assert.Equal(property.
EvaluatedValue
, deserializedProperty.
EvaluatedValue
);
TestComparers\TaskRegistryComparers.cs (2)
138
Assert.Equal(xp.Value.
EvaluatedValue
, yp.Value.
EvaluatedValue
);
Microsoft.Build.Utilities.UnitTests (1)
ToolLocationHelper_Tests.cs (1)
715
string tv12path = Path.Combine(Path.GetFullPath(toolsPath32.
EvaluatedValue
), "msbuild.exe");
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\ProjectFile\Extensions.cs (1)
76
=> executedProject.GetProperty(propertyName)?.
EvaluatedValue
;