2 writes to _modifications
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\Lookup.cs (2)
1047
_modifications
= new Dictionary<string, MetadataModification>(MSBuildNameIgnoreCaseComparer.Default);
1057
_modifications
= new Dictionary<string, MetadataModification>(other._modifications, MSBuildNameIgnoreCaseComparer.Default);
11 references to _modifications
Microsoft.Build (11)
BackEnd\Components\RequestBuilder\Lookup.cs (11)
1057
_modifications = new Dictionary<string, MetadataModification>(other.
_modifications
, MSBuildNameIgnoreCaseComparer.Default);
1074
get { return
_modifications
.Count > 0 || _keepOnlySpecified; }
1095
var metadataToRemove = new List<string>(
_modifications
.Keys.Where(m => other[m].Remove));
1098
_modifications
.Remove(metadata);
1108
if (modificationPair.Value.KeepValue &&
_modifications
.TryGetValue(modificationPair.Key, out existingModification))
1119
_modifications
[modificationPair.Key] = modificationPair.Value;
1131
return
_modifications
.ContainsKey(metadataName);
1141
_modifications
.Add(metadataName, MetadataModification.CreateFromNewValue(metadataValue));
1149
get { return
_modifications
; }
1166
if (!
_modifications
.TryGetValue(metadataName, out modification))
1183
_modifications
[metadataName] = value;