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)
135
return
_properties
.Values;
150
bool ICollection<KeyValuePair<string, T>>.IsReadOnly => ((ICollection<T>)
_properties
).IsReadOnly;
161
return ((ICollection<T>)
_properties
).Count;
201
_properties
.TryGetValue(name, out projectProperty);
220
return new CopyOnReadEnumerable<T, TResult>(this,
_properties
, selector);
239
((ICollection<T>)
_properties
).Clear();
251
foreach (T item in
_properties
.Values)
265
foreach (T item in
_properties
.Values)
299
foreach (T leftProp in
_properties
.Values)
331
return
_properties
.Get(name, startIndex, endIndex - startIndex + 1);
349
if (
_properties
is IRetrievableUnescapedValuedEntryHashSet unescapedProperties)
354
if (
_properties
.TryGetEscapedValue(propertyName, out string escapedValue) && escapedValue != null)
384
return
_properties
.ContainsKey(key);
433
if (
_properties
.TryGetValue(item.Key, out T value))
476
_properties
.CopyTo(array, arrayIndex);
494
foreach (KeyValuePair<string, T> kvp in (IEnumerable<KeyValuePair<string, T>>)
_properties
)
514
bool result =
_properties
.Remove(name);
530
_properties
[projectProperty.Key] = projectProperty;
569
var dictionary = new Dictionary<string, string>(((ICollection<T>)
_properties
).Count, MSBuildNameIgnoreCaseComparer.Default);
571
foreach (T property in
_properties
.Values)
582
return
_properties
is IValueDictionaryConverter converter
591
foreach (var kvp in (ICollection<T>)
_properties
)
612
if (
_properties
is RetrievableValuedEntryHashSet<T> hashSet)
627
ICollection<T> propertiesCollection =
_properties
;