11 writes to _globalProperties
Microsoft.Build (11)
Instance\ProjectInstance.cs (11)
394_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(project.GlobalPropertiesCount); 462_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesRetrievableHashSet); 540_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalProperties.Count); 742_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 802_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2415_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2486translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2527translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2867_globalProperties = null; 3185_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3366_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalPropertiesDictionary.Count);
17 references to _globalProperties
Microsoft.Build (17)
Instance\ProjectInstance.cs (17)
397_globalProperties.Set(ProjectPropertyInstance.Create(property.Key, property.Value)); 572_globalProperties[property.Key] = ProjectPropertyInstance.Create(property.Key, property.Value, false /* may not be reserved */, _isImmutable); 742_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 746_globalProperties.Set(globalProperty.DeepClone(_isImmutable)); 820_globalProperties.Set(globalProperty.DeepClone(isImmutable: true)); 1109if (_globalProperties == null /* cached */ || _globalProperties.Count == 0) 1114Dictionary<string, string> dictionary = new Dictionary<string, string>(_globalProperties.Count, MSBuildNameIgnoreCaseComparer.Default); 1116foreach (ProjectPropertyInstance property in _globalProperties) 1371{ return _globalProperties; } 1563{ return _globalProperties; } 2387if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2415_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 3240_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 3244_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3370_globalProperties.Set(globalProperty.DeepClone());