11 writes to _globalProperties
Microsoft.Build (11)
Instance\ProjectInstance.cs (11)
387_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(project.GlobalPropertiesCount); 463_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(linkedProject.GlobalPropertiesCount); 533_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalProperties.Count); 723_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 773_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2188_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2259translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2300translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2598_globalProperties = null; 2932_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3102_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesDictionary.Count);
18 references to _globalProperties
Microsoft.Build (18)
Instance\ProjectInstance.cs (18)
390_globalProperties.Set(ProjectPropertyInstance.Create(property.Key, property.Value)); 466_globalProperties.Set(ProjectPropertyInstance.Create(property.Key, property.Value)); 564_globalProperties[property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable); 723_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 727_globalProperties.Set(globalProperty.DeepClone(_isImmutable)); 789_globalProperties.Set(globalProperty.DeepClone(isImmutable: true)); 948if (_globalProperties == null /* cached */ || _globalProperties.Count == 0) 953Dictionary<string, string> dictionary = new Dictionary<string, string>(_globalProperties.Count, MSBuildNameIgnoreCaseComparer.Default); 955foreach (ProjectPropertyInstance property in _globalProperties) 1210{ return _globalProperties; } 1363{ return _globalProperties; } 2162if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2188_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2987_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 2991_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3106_globalProperties.Set(globalProperty.DeepClone());