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); 767_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 827_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2428_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2499translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2540translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2885_globalProperties = null; 3203_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3384_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); 767_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 771_globalProperties.Set(globalProperty.DeepClone(_isImmutable)); 845_globalProperties.Set(globalProperty.DeepClone(isImmutable: true)); 1120if (_globalProperties == null /* cached */ || _globalProperties.Count == 0) 1125return _globalProperties.ToReadOnlyDictionary(); 1375{ return _globalProperties; } 1584{ return _globalProperties; } 2400if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2428_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 3258_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 3262_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3388_globalProperties.Set(globalProperty.DeepClone());