11 writes to _globalProperties
Microsoft.Build (11)
Instance\ProjectInstance.cs (11)
396_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(project.GlobalPropertiesCount); 460_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesRetrievableHashSet); 566_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalProperties.Count); 768_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 828_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2443_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2514translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2555translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2900_globalProperties = null; 3218_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3399_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesDictionary.Count);
16 references to _globalProperties
Microsoft.Build (16)
Instance\ProjectInstance.cs (16)
399_globalProperties.Set(ProjectPropertyInstance.Create(property.Key, property.Value)); 598_globalProperties[property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable); 768_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 772_globalProperties.Set(globalProperty.DeepClone(_isImmutable)); 846_globalProperties.Set(globalProperty.DeepClone(isImmutable: true)); 1121if (_globalProperties == null /* cached */ || _globalProperties.Count == 0) 1126return _globalProperties.ToReadOnlyDictionary(); 1376{ return _globalProperties; } 1591{ return _globalProperties; } 2415if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2443_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 3273_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 3277_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3403_globalProperties.Set(globalProperty.DeepClone());