2 instantiations of Customer
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlDataContractSerializerOutputFormatterTest.cs (2)
658var outputFormatterContext = GetOutputFormatterContext(new Customer(10), typeof(Customer)); 676var outputFormatterContext = GetOutputFormatterContext(new Customer(10), typeof(Customer));
3 references to Customer
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
XmlDataContractSerializerOutputFormatterTest.cs (3)
658var outputFormatterContext = GetOutputFormatterContext(new Customer(10), typeof(Customer)); 667Assert.Equal($"An error occurred while trying to create a DataContractSerializer for the type '{typeof(Customer).FullName}'.", 676var outputFormatterContext = GetOutputFormatterContext(new Customer(10), typeof(Customer));