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();
243
foreach (T item in
_properties
.Values)
257
foreach (T item in
_properties
.Values)
291
foreach (T leftProp in
_properties
.Values)
323
return
_properties
.Get(name, startIndex, endIndex - startIndex + 1);
341
if (
_properties
is IRetrievableUnescapedValuedEntryHashSet unescapedProperties)
346
if (
_properties
.TryGetEscapedValue(propertyName, out string escapedValue) && escapedValue != null)
376
return
_properties
.ContainsKey(key);
425
if (
_properties
.TryGetValue(item.Key, out T value))
466
_properties
.CopyTo(array, arrayIndex);
484
foreach (KeyValuePair<string, T> kvp in (IEnumerable<KeyValuePair<string, T>>)
_properties
)
504
bool result =
_properties
.Remove(name);
520
_properties
[projectProperty.Key] = projectProperty;
559
var dictionary = new Dictionary<string, string>(((ICollection<T>)
_properties
).Count, MSBuildNameIgnoreCaseComparer.Default);
561
foreach (T property in
_properties
.Values)
572
return
_properties
is IValueDictionaryConverter converter
581
foreach (var kvp in (ICollection<T>)
_properties
)
602
if (
_properties
is RetrievableValuedEntryHashSet<T> hashSet)
617
ICollection<T> propertiesCollection =
_properties
;