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); 768_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 828_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.PropertyFilters.Count); 2427_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 2498translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2539translator.TranslateDictionary(ref _globalProperties, ProjectPropertyInstance.FactoryForDeserialization); 2884_globalProperties = null; 3202_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count); 3383_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); 768_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(that._globalProperties.Count); 772_globalProperties.Set(globalProperty.DeepClone(_isImmutable)); 846_globalProperties.Set(globalProperty.DeepClone(isImmutable: true)); 1121if (_globalProperties == null /* cached */ || _globalProperties.Count == 0) 1126return _globalProperties.ToReadOnlyDictionary(); 1376{ return _globalProperties; } 1575{ return _globalProperties; } 2399if (!_globalProperties.Contains(property.Name) || !String.Equals(_globalProperties[property.Name].EvaluatedValue, property.EvaluatedValue, StringComparison.OrdinalIgnoreCase)) 2427_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(projectState._globalProperties); 3257_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, explicitSubToolsetVersion, false /* may not be reserved */, _isImmutable)); 3261_globalProperties.Set(ProjectPropertyInstance.Create(globalProperty.Key, globalProperty.Value, false /* may not be reserved */, _isImmutable)); 3387_globalProperties.Set(globalProperty.DeepClone());