12 instantiations of new
Microsoft.Build.Engine.UnitTests (12)
Collections\CopyOnWritePropertyDictionary_Tests.cs (12)
25
dic.Set(
new
("a"));
29
dic.Set(
new
("b"));
33
dic.Set(
new
("c"));
47
MockValue a =
new
("a");
48
MockValue b =
new
("b");
75
MockValue a =
new
("a");
76
MockValue b =
new
("b");
109
MockValue a =
new
("a");
110
MockValue b =
new
("b");
171
MockValue a =
new
("a");
172
MockValue b =
new
("b");
195
dic.Set(
new
(value));
19 references to new
Microsoft.Build.Engine.UnitTests (19)
Collections\CopyOnWritePropertyDictionary_Tests.cs (19)
47
MockValue
a = new("a");
48
MockValue
b = new("b");
75
MockValue
a = new("a");
76
MockValue
b = new("b");
109
MockValue
a = new("a");
110
MockValue
b = new("b");
134
static void Test(CopyOnWritePropertyDictionary<
MockValue
> a, CopyOnWritePropertyDictionary<
MockValue
> b, bool expected)
171
MockValue
a = new("a");
172
MockValue
b = new("b");
182
CopyOnWritePropertyDictionary<
MockValue
> source = CreateInstance("a", "b", "c");
183
CopyOnWritePropertyDictionary<
MockValue
> clone = (CopyOnWritePropertyDictionary<
MockValue
>)source.DeepClone();
189
private static CopyOnWritePropertyDictionary<
MockValue
> CreateInstance(params string[] values)
191
CopyOnWritePropertyDictionary<
MockValue
> dic = new CopyOnWritePropertyDictionary<
MockValue
>();
201
private sealed class MockValue : IKeyed, IValued, IEquatable<
MockValue
>, IEquatable<object>, IImmutable
209
public bool Equals(
MockValue
? other)
216
if (other is
MockValue
mv)