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)
46value[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)
172set => this[name] = value;
Definition\Project.cs (1)
2957_data.Properties[name] = property;
Graph\GraphBuilder.cs (2)
438globalPropertyDictionary[PropertyNames.IsGraphBuild] = ProjectPropertyInstance.Create(PropertyNames.IsGraphBuild, "true"); 683propertyDictionary[entry.Key] = ProjectPropertyInstance.Create(entry.Key, entry.Value);
Graph\ProjectInterpretation.cs (2)
204properties[propertyName] = propertyInstance; 414destination[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)
235ProjectPropertyInstance instance = projectProperties[propertyToGet];
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
504string? designTimeBuild = buildRequestConfiguration.GlobalProperties[DesignTimeProperties.DesignTimeBuild]?.EvaluatedValue; 505string? buildingProject = buildRequestConfiguration.GlobalProperties[DesignTimeProperties.BuildingProject]?.EvaluatedValue;
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1135bool isRestoring = _requestEntry.RequestConfiguration.GlobalProperties[MSBuildConstants.MSBuildIsRestoring] is not null;
Collections\PropertyDictionary.cs (4)
171get => this[name]; 293T rightProp = other[leftProp.Key]; 312return this[name]; 393value = this[key];
Definition\Project.cs (5)
2902return _data.Properties[name]; 2939ProjectProperty property = _data.Properties[name]; 2972ProjectPropertyInstance existing = _data.GlobalPropertiesDictionary[name]; 4599return Properties[name]; 4664ProjectProperty property = Properties[name];
Definition\ProjectCollection.cs (1)
1493return _globalProperties[name];
Definition\ProjectItem.cs (4)
416result = _directMetadata[name]; 482ProjectMetadata metadatum = _directMetadata[name]; 594metadatum = _directMetadata[name]; 655metadatum = _directMetadata[name];
Definition\ProjectItemDefinition.cs (1)
161metadatum = _metadata[name];
Definition\Toolset.cs (3)
645ProjectPropertyInstance subToolsetProperty = overrideGlobalProperties[Constants.SubToolsetVersionPropertyName]; 677ProjectPropertyInstance visualStudioVersionProperty = _globalProperties[Constants.SubToolsetVersionPropertyName]; 688ProjectPropertyInstance visualStudioVersionProperty = _environmentProperties[Constants.SubToolsetVersionPropertyName];
Definition\ToolsetReader.cs (1)
591if (globalProperties[property.Name] == null)
Evaluation\Evaluator.cs (1)
809ProjectPropertyInstance configurationData = _data.GlobalPropertiesDictionary["currentsolutionconfigurationcontents"];
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (7)
51return _allProperties[key]; 93ProjectPropertyInstance instance = _allProperties[itemKey]; 154ProjectPropertyInstance instance = _allProperties[itemKey]; 190ProjectPropertyInstance actualInstance = _parent._allProperties[item.Name]; 218ProjectPropertyInstance instance = _parent._allProperties[itemKey]; 232ProjectPropertyInstance instance = _parent._allProperties[itemKey]; 244ProjectPropertyInstance instance = _parent._allProperties[itemKey];
Instance\ProjectInstance.cs (4)
1957return _properties[name]; 2400if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2402if ((!_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)))