11 writes to _globalProperties
Microsoft.Build (11)
Instance\ProjectInstance.cs (11)
389_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(project.GlobalPropertiesCount); 457_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesRetrievableHashSet); 535_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalProperties.Count); 725_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 775_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2333_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2404translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2445translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2780_globalProperties = null; 3098_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3278_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesDictionary.Count);
17 references to _globalProperties
Microsoft.Build (17)
Instance\ProjectInstance.cs (17)
392_globalProperties.Set(ProjectPropertyInstance.Create(property.Key, property.Value)); 566_globalProperties[property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable); 725_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 729_globalProperties.Set(globalProperty.DeepClone(_isImmutable)); 791_globalProperties.Set(globalProperty.DeepClone(isImmutable: true)); 1075if (_globalProperties == null /* cached */ || _globalProperties.Count == 0) 1080Dictionary<string, string> dictionary = new Dictionary<string, string>(_globalProperties.Count, MSBuildNameIgnoreCaseComparer.Default); 1082foreach (ProjectPropertyInstance property in _globalProperties) 1337{ return _globalProperties; } 1490{ return _globalProperties; } 2307if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2333_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 3153_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 3157_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3282_globalProperties.Set(globalProperty.DeepClone());