11 writes to _globalProperties
Microsoft.Build (11)
Instance\ProjectInstance.cs (11)
405_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(project.GlobalPropertiesCount); 469_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesRetrievableHashSet); 577_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalProperties.Count); 778_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 838_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2490_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2561translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2602translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2951_globalProperties = null; 3272_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3456_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesDictionary.Count);
16 references to _globalProperties
Microsoft.Build (16)
Instance\ProjectInstance.cs (16)
408_globalProperties.Set(ProjectPropertyInstance.Create(property.Key, property.Value)); 609_globalProperties[property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable); 778_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 782_globalProperties.Set(globalProperty.DeepClone(_isImmutable)); 856_globalProperties.Set(globalProperty.DeepClone(isImmutable: true)); 1133if (_globalProperties == null /* cached */ || _globalProperties.Count == 0) 1138return _globalProperties.ToReadOnlyDictionary(); 1426{ return _globalProperties; } 1635{ return _globalProperties; } 2462if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2490_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 3327_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 3331_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3460_globalProperties.Set(globalProperty.DeepClone());