15 instantiations of CopyOnWriteDictionary
Microsoft.Build (4)
Construction\ProjectTaskElement.cs (1)
444
_parameters = new
CopyOnWriteDictionary
<(string, ElementLocation)>(StringComparer.OrdinalIgnoreCase);
CopyOnWriteDictionary.cs (1)
373
return new
CopyOnWriteDictionary
<V>(this);
Instance\ProjectTaskInstance.cs (2)
140
new
CopyOnWriteDictionary
<(string, ElementLocation)>(StringComparer.OrdinalIgnoreCase),
383
count => new
CopyOnWriteDictionary
<(string, ElementLocation)>());
Microsoft.Build.Engine.UnitTests (11)
CopyOnWriteDictionary_Tests.cs (9)
30
var dictionary = new
CopyOnWriteDictionary
<object>();
48
var dictionary = new
CopyOnWriteDictionary
<object>();
61
var dictionary = new
CopyOnWriteDictionary
<object>();
78
var dictionary = new
CopyOnWriteDictionary
<object>();
97
var dictionary = new
CopyOnWriteDictionary
<object>();
117
var dictionary = new
CopyOnWriteDictionary
<string>();
133
var dictionary = new
CopyOnWriteDictionary
<string>(StringComparer.OrdinalIgnoreCase);
148
var dictionary = new
CopyOnWriteDictionary
<string>();
174
var dictionary = new
CopyOnWriteDictionary
<string>();
TestData\ProjectInstanceTestObjects.cs (2)
115
? new
CopyOnWriteDictionary
<(string, ElementLocation)>(parameters)
116
: new
CopyOnWriteDictionary
<(string, ElementLocation)>();
24 references to CopyOnWriteDictionary
Microsoft.Build (8)
Construction\ProjectTaskElement.cs (2)
36
private
CopyOnWriteDictionary
<(string, ElementLocation)> _parameters;
211
internal
CopyOnWriteDictionary
<(string, ElementLocation)> ParametersForEvaluation
CopyOnWriteDictionary.cs (3)
101
private CopyOnWriteDictionary(
CopyOnWriteDictionary
<V> that)
371
internal
CopyOnWriteDictionary
<V> Clone()
379
internal bool HasSameBacking(
CopyOnWriteDictionary
<V> other)
Instance\ProjectTaskInstance.cs (3)
58
private
CopyOnWriteDictionary
<(string, ElementLocation)> _parameters;
156
CopyOnWriteDictionary
<(string, ElementLocation)> parameters,
387
_parameters = (
CopyOnWriteDictionary
<(string, ElementLocation)>)localParameters;
Microsoft.Build.Engine.UnitTests (16)
CopyOnWriteDictionary_Tests.cs (15)
30
var
dictionary = new CopyOnWriteDictionary<object>();
48
var
dictionary = new CopyOnWriteDictionary<object>();
61
var
dictionary = new CopyOnWriteDictionary<object>();
78
var
dictionary = new CopyOnWriteDictionary<object>();
97
var
dictionary = new CopyOnWriteDictionary<object>();
117
var
dictionary = new CopyOnWriteDictionary<string>();
121
var
clone = dictionary.Clone();
133
var
dictionary = new CopyOnWriteDictionary<string>(StringComparer.OrdinalIgnoreCase);
137
var
clone = dictionary.Clone();
148
var
dictionary = new CopyOnWriteDictionary<string>();
152
var
clone = dictionary.Clone();
153
var
clone2 = dictionary.Clone();
174
var
dictionary = new CopyOnWriteDictionary<string>();
178
var
clone = dictionary.Clone();
179
var
clone2 = dictionary.Clone();
TestData\ProjectInstanceTestObjects.cs (1)
114
var
readonlyParameters = parameters != null