4 writes to _properties
Microsoft.Build (4)
Collections\PropertyDictionary.cs (4)
58
_properties
= new RetrievableValuedEntryHashSet<T>(MSBuildNameIgnoreCaseComparer.Default);
66
_properties
= new RetrievableValuedEntryHashSet<T>(capacity, MSBuildNameIgnoreCaseComparer.Default);
86
_properties
= new RetrievableValuedEntryHashSet<T>(comparer);
107
_properties
= propertiesHashSet;
24 references to _properties
Microsoft.Build (24)
Collections\PropertyDictionary.cs (24)
127
return
_properties
.Values;
142
bool ICollection<KeyValuePair<string, T>>.IsReadOnly => ((ICollection<T>)
_properties
).IsReadOnly;
153
return ((ICollection<T>)
_properties
).Count;
193
_properties
.TryGetValue(name, out projectProperty);
212
return new CopyOnReadEnumerable<T, TResult>(this,
_properties
, selector);
231
((ICollection<T>)
_properties
).Clear();
249
if (
_properties
is RetrievableValuedEntryHashSet<T> hashSet)
258
foreach (T item in
_properties
.Values)
298
foreach (T leftProp in
_properties
.Values)
330
return
_properties
.Get(name, startIndex, endIndex - startIndex + 1);
348
if (
_properties
is IRetrievableUnescapedValuedEntryHashSet unescapedProperties)
353
if (
_properties
.TryGetEscapedValue(propertyName, out string escapedValue) && escapedValue != null)
383
return
_properties
.ContainsKey(key);
432
if (
_properties
.TryGetValue(item.Key, out T value))
473
_properties
.CopyTo(array, arrayIndex);
491
foreach (KeyValuePair<string, T> kvp in (IEnumerable<KeyValuePair<string, T>>)
_properties
)
511
bool result =
_properties
.Remove(name);
527
_properties
[projectProperty.Key] = projectProperty;
566
var dictionary = new Dictionary<string, string>(((ICollection<T>)
_properties
).Count, MSBuildNameIgnoreCaseComparer.Default);
568
foreach (T property in
_properties
.Values)
579
return
_properties
is IValueDictionaryConverter converter
588
foreach (var kvp in (ICollection<T>)
_properties
)
609
if (
_properties
is RetrievableValuedEntryHashSet<T> hashSet)
624
ICollection<T> propertiesCollection =
_properties
;