11 writes to
Microsoft.Build (11)
BackEnd\BuildManager\BuildParameters.cs (1)
504
_globalProperties
[
property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value);
BackEnd\Components\Communications\TranslatorExtensions.cs (1)
46
value
[
instance.Name] = instance;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
551
_globalProperties
[
key] = ProjectPropertyInstance.Create(key, "Forces unique project identity in the MSBuild engine");
BackEnd\Shared\ConfigurationMetadata.cs (1)
43
_globalProperties
[
entry.Key] = ProjectPropertyInstance.Create(entry.Key, entry.Value);
Collections\PropertyDictionary.cs (1)
172
set => this
[
name] = value;
Definition\Project.cs (1)
2957
_data.Properties
[
name] = property;
Graph\GraphBuilder.cs (2)
438
globalPropertyDictionary
[
PropertyNames.IsGraphBuild] = ProjectPropertyInstance.Create(PropertyNames.IsGraphBuild, "true");
683
propertyDictionary
[
entry.Key] = ProjectPropertyInstance.Create(entry.Key, entry.Value);
Graph\ProjectInterpretation.cs (2)
204
properties
[
propertyName] = propertyInstance;
414
destination
[
pair.Key] = ProjectPropertyInstance.Create(pair.Key, pair.Value);
Instance\ProjectInstance.cs (1)
598
_globalProperties
[
property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable);
35 references to
Microsoft.Build (35)
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
235
ProjectPropertyInstance instance = projectProperties
[
propertyToGet];
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
504
string? designTimeBuild = buildRequestConfiguration.GlobalProperties
[
DesignTimeProperties.DesignTimeBuild]?.EvaluatedValue;
505
string? buildingProject = buildRequestConfiguration.GlobalProperties
[
DesignTimeProperties.BuildingProject]?.EvaluatedValue;
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1135
bool isRestoring = _requestEntry.RequestConfiguration.GlobalProperties
[
MSBuildConstants.MSBuildIsRestoring] is not null;
Collections\PropertyDictionary.cs (4)
171
get => this
[
name];
293
T rightProp = other
[
leftProp.Key];
312
return this
[
name];
393
value = this
[
key];
Definition\Project.cs (5)
2902
return _data.Properties
[
name];
2939
ProjectProperty property = _data.Properties
[
name];
2972
ProjectPropertyInstance existing = _data.GlobalPropertiesDictionary
[
name];
4599
return Properties
[
name];
4664
ProjectProperty property = Properties
[
name];
Definition\ProjectCollection.cs (1)
1493
return _globalProperties
[
name];
Definition\ProjectItem.cs (4)
416
result = _directMetadata
[
name];
482
ProjectMetadata metadatum = _directMetadata
[
name];
594
metadatum = _directMetadata
[
name];
655
metadatum = _directMetadata
[
name];
Definition\ProjectItemDefinition.cs (1)
161
metadatum = _metadata
[
name];
Definition\Toolset.cs (3)
645
ProjectPropertyInstance subToolsetProperty = overrideGlobalProperties
[
Constants.SubToolsetVersionPropertyName];
677
ProjectPropertyInstance visualStudioVersionProperty = _globalProperties
[
Constants.SubToolsetVersionPropertyName];
688
ProjectPropertyInstance visualStudioVersionProperty = _environmentProperties
[
Constants.SubToolsetVersionPropertyName];
Definition\ToolsetReader.cs (1)
591
if (globalProperties
[
property.Name] == null)
Evaluation\Evaluator.cs (1)
809
ProjectPropertyInstance configurationData = _data.GlobalPropertiesDictionary
[
"currentsolutionconfigurationcontents"];
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (7)
51
return _allProperties
[
key];
93
ProjectPropertyInstance instance = _allProperties
[
itemKey];
154
ProjectPropertyInstance instance = _allProperties
[
itemKey];
190
ProjectPropertyInstance actualInstance = _parent._allProperties
[
item.Name];
218
ProjectPropertyInstance instance = _parent._allProperties
[
itemKey];
232
ProjectPropertyInstance instance = _parent._allProperties
[
itemKey];
244
ProjectPropertyInstance instance = _parent._allProperties
[
itemKey];
Instance\ProjectInstance.cs (4)
1957
return _properties
[
name];
2400
if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties
[
property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase))
2402
if ((!_environmentVariableProperties.Contains(property.Name) || !String.Equals(_environmentVariableProperties
[
property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase))
2404
&& (!_sdkResolvedEnvironmentVariableProperties.Contains(property.Name) || !String.Equals(_sdkResolvedEnvironmentVariableProperties
[
property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)))