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