11 writes to _globalProperties
Microsoft.Build (11)
Instance\ProjectInstance.cs (11)
395_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(project.GlobalPropertiesCount); 459_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesRetrievableHashSet); 565_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalProperties.Count); 767_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 827_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2416_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2487translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2528translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2873_globalProperties = null; 3191_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3372_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesDictionary.Count);
16 references to _globalProperties
Microsoft.Build (16)
Instance\ProjectInstance.cs (16)
398_globalProperties.Set(ProjectPropertyInstance.Create(property.Key, property.Value)); 597_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; } 1564{ return _globalProperties; } 2388if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2416_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 3246_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 3250_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3376_globalProperties.Set(globalProperty.DeepClone());