14 writes to
Microsoft.Build (11)
BackEnd\BuildManager\BuildParameters.cs (1)
470
_globalProperties
[
property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value);
BackEnd\Components\Communications\TranslatorExtensions.cs (1)
47
value
[
instance.Name] = instance;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
522
_globalProperties
[
key] = ProjectPropertyInstance.Create(key, "Forces unique project identity in the MSBuild engine");
BackEnd\Shared\ConfigurationMetadata.cs (1)
42
_globalProperties
[
entry.Key] = ProjectPropertyInstance.Create(entry.Key, entry.Value);
Collections\PropertyDictionary.cs (1)
173
set => this
[
name] = value;
Definition\Project.cs (1)
2948
_data.Properties
[
name] = property;
Graph\GraphBuilder.cs (2)
429
globalPropertyDictionary
[
PropertyNames.IsGraphBuild] = ProjectPropertyInstance.Create(PropertyNames.IsGraphBuild, "true");
638
propertyDictionary
[
entry.Key] = ProjectPropertyInstance.Create(entry.Key, entry.Value);
Graph\ProjectInterpretation.cs (2)
206
properties
[
propertyName] = propertyInstance;
418
destination
[
pair.Key] = ProjectPropertyInstance.Create(pair.Key, pair.Value);
Instance\ProjectInstance.cs (1)
566
_globalProperties
[
property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\ConfigurationMetadata_Tests.cs (1)
128
globalProperties
[
"a"] = ProjectPropertyInstance.Create("a", "b");
Evaluation\Expander_Tests.cs (2)
3556
pg
[
"DifferentTargetsPath"] = ProjectPropertyInstance.Create("DifferentTargetsPath", "Different");
3564
pg
[
"DifferentTargetsPath"] = ProjectPropertyInstance.Create("DifferentTargetsPath", String.Empty);
59 references to
Microsoft.Build (35)
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
232
ProjectPropertyInstance instance = projectProperties
[
propertyToGet];
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
426
string? designTimeBuild = buildRequestConfiguration.GlobalProperties
[
DesignTimeProperties.DesignTimeBuild]?.EvaluatedValue;
427
string? buildingProject = buildRequestConfiguration.GlobalProperties
[
DesignTimeProperties.BuildingProject]?.EvaluatedValue;
BackEnd\Components\RequestBuilder\FullTracking.cs (1)
96
ProjectPropertyInstance tlogRelativeDirectoryProperty = projectProperties
[
FullTrackingDirectoryPropertyName];
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1109
bool isRestoring = _requestEntry.RequestConfiguration.GlobalProperties
[
MSBuildConstants.MSBuildIsRestoring] is not null;
Collections\PropertyDictionary.cs (4)
172
get => this
[
name];
288
T rightProp = other
[
leftProp.Key];
307
return this
[
name];
383
value = this
[
key];
Definition\Project.cs (5)
2893
return _data.Properties
[
name];
2930
ProjectProperty property = _data.Properties
[
name];
2963
ProjectPropertyInstance existing = _data.GlobalPropertiesDictionary
[
name];
4563
return Properties
[
name];
4628
ProjectProperty property = Properties
[
name];
Definition\ProjectCollection.cs (1)
1431
return _globalProperties
[
name];
Definition\ProjectItem.cs (4)
421
result = _directMetadata
[
name];
487
ProjectMetadata metadatum = _directMetadata
[
name];
599
metadatum = _directMetadata
[
name];
660
metadatum = _directMetadata
[
name];
Definition\ProjectItemDefinition.cs (1)
161
metadatum = _metadata
[
name];
Definition\Toolset.cs (3)
754
ProjectPropertyInstance subToolsetProperty = overrideGlobalProperties
[
Constants.SubToolsetVersionPropertyName];
786
ProjectPropertyInstance visualStudioVersionProperty = _globalProperties
[
Constants.SubToolsetVersionPropertyName];
797
ProjectPropertyInstance visualStudioVersionProperty = _environmentProperties
[
Constants.SubToolsetVersionPropertyName];
Definition\ToolsetReader.cs (1)
600
if (globalProperties
[
property.Name] == null)
Evaluation\Evaluator.cs (1)
796
ProjectPropertyInstance configurationData = _data.GlobalPropertiesDictionary
[
"currentsolutionconfigurationcontents"];
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (7)
53
return _allProperties
[
key];
95
ProjectPropertyInstance instance = _allProperties
[
itemKey];
152
ProjectPropertyInstance instance = _allProperties
[
itemKey];
188
ProjectPropertyInstance actualInstance = _parent._allProperties
[
item.Name];
216
ProjectPropertyInstance instance = _parent._allProperties
[
itemKey];
230
ProjectPropertyInstance instance = _parent._allProperties
[
itemKey];
242
ProjectPropertyInstance instance = _parent._allProperties
[
itemKey];
Instance\ProjectInstance.cs (3)
1864
return _properties
[
name];
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))
Microsoft.Build.Engine.UnitTests (24)
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 (8)
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);
BackEnd\Lookup_Tests.cs (3)
1256
Assert.Equal("v1", group
[
"p1"].EvaluatedValue);
1265
Assert.Equal("v1", group
[
"p1"].EvaluatedValue);
1284
Assert.Equal("v4", group
[
"p1"].EvaluatedValue);
Collections\OMcollections_tests.cs (3)
48
Assert.Equal("v1", properties
[
"p1"].EvaluatedValue);
49
Assert.Equal("v3", properties
[
"p2"].EvaluatedValue);
52
Assert.Null(properties
[
"p1"]);
Instance\ProjectInstance_Internal_Tests.cs (4)
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");