21 instantiations of ShallowClass
Microsoft.DotNet.XUnitAssert.Tests (21)
EquivalenceAssertsTests.cs (21)
150 var expected = new DeepStruct(new ShallowClass { Value1 = 42, Value2 = "Hello, world!" });
151 var actual = new DeepStruct(new ShallowClass { Value1 = 42, Value2 = "Hello, world!" });
159 var expected = new DeepStruct(new ShallowClass { Value1 = 42, Value2 = "Hello, world!" });
160 var actual = new DeepStruct(new ShallowClass { Value1 = 13, Value2 = "Hello, world!" });
317 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
318 var actual = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
331 var expected = new ShallowClass();
346 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
347 var actual = new ShallowClass { Value1 = 2112, Value2 = "Hello, world!" };
366 var expected = new DeepClass { Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" }, Value3 = 21.12m };
367 var actual = new DeepClass { Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" }, Value3 = 21.12m };
375 var expected = new DeepClass { Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" }, Value3 = 21.12m };
376 var actual = new DeepClass { Shallow = new ShallowClass { Value1 = 2600, Value2 = "Hello, world!" }, Value3 = 21.12m };
395 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
404 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
424 var expected = new DeepClass { Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" }, Value3 = 21.12m };
425 var actual = new DeepClass2 { Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" }, Value3 = 21.12m };
433 var expected = new DeepClass { Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" }, Value3 = 21.12m };
434 var actual = new DeepClass2 { Shallow = new ShallowClass { Value1 = 2600, Value2 = "Hello, world!" }, Value3 = 21.12m };
454 var actual = new DeepClass { Value3 = 21.12m, Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" } };
463 var actual = new DeepClass { Value3 = 21.12m, Shallow = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" } };
13 references to ShallowClass
Microsoft.DotNet.XUnitAssert.Tests (13)
EquivalenceAssertsTests.cs (13)
317 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
318 var actual = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
328 ShallowClass.StaticValue = 1;
331 var expected = new ShallowClass();
338 ShallowClass.StaticValue = default;
346 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
347 var actual = new ShallowClass { Value1 = 2112, Value2 = "Hello, world!" };
395 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
404 var expected = new ShallowClass { Value1 = 42, Value2 = "Hello, world!" };
1813 public ShallowClass? Shallow { get; set; }
1819 public ShallowClass? Shallow;
1824 public DeepStruct(ShallowClass shallow)
1829 public ShallowClass Shallow { get; }