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