12 instantiations of DummyClass
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (12)
XmlSerializerOutputFormatterTest.cs (12)
45
yield return new object[] { new
DummyClass
{ SampleInt = 10 }, "<DummyClass xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " +
73
var obj = new
DummyClass
{ SampleInt = 10 };
109
var input = new
DummyClass
{ SampleInt = 10 };
129
var input = new
DummyClass
{ SampleInt = 10 };
163
var sampleInput = new
DummyClass
{ SampleInt = 10 };
189
var sampleInput = new
DummyClass
{ SampleInt = 10 };
246
var sampleInput = new
DummyClass
{ SampleInt = 10 };
275
var sampleInput = new
DummyClass
{ SampleInt = 10 };
301
var sampleInput = new
DummyClass
{ SampleInt = 10 };
321
var sampleInput = new
DummyClass
{ SampleInt = 10 };
339
yield return new object[] { new
DummyClass
{ SampleInt = 5 }, typeof(DummyClass), true };
404
var sampleInput = new
DummyClass
{ SampleInt = 10 };
13 references to DummyClass
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (13)
XmlSerializerOutputFormatterTest.cs (13)
73
var
obj = new DummyClass { SampleInt = 10 };
109
var
input = new DummyClass { SampleInt = 10 };
129
var
input = new DummyClass { SampleInt = 10 };
132
var context = GetOutputFormatterContext(input, typeof(
DummyClass
));
163
var
sampleInput = new DummyClass { SampleInt = 10 };
189
var
sampleInput = new DummyClass { SampleInt = 10 };
246
var
sampleInput = new DummyClass { SampleInt = 10 };
275
var
sampleInput = new DummyClass { SampleInt = 10 };
301
var
sampleInput = new DummyClass { SampleInt = 10 };
321
var
sampleInput = new DummyClass { SampleInt = 10 };
339
yield return new object[] { new DummyClass { SampleInt = 5 }, typeof(
DummyClass
), true };
404
var
sampleInput = new DummyClass { SampleInt = 10 };
421
yield return new object[] { typeof(
DummyClass
), "application/xml" };