1 type derived from XmlSerializer
System.Web.Services.Description (1)
19 instantiations of XmlSerializer
BoundTreeGenerator (1)
CSharpSyntaxGenerator (1)
IOperationGenerator (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
Microsoft.Build.Tasks.Core (2)
System.Configuration.ConfigurationManager (2)
System.Drawing.Common.Tests (1)
System.Private.Xml (6)
System.ServiceModel.Syndication (3)
330 references to XmlSerializer
BoundTreeGenerator (1)
CSharpSyntaxGenerator (1)
dotnet-svcutil.xmlserializer (2)
dotnet-svcutil.xmlserializer.IntegrationTests (1)
IOperationGenerator (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (19)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
Microsoft.Build.Tasks.Core (2)
netstandard (1)
System.Configuration.ConfigurationManager (2)
System.Data.Common (18)
System\Data\Common\ObjectStorage.cs (14)
353XmlSerializer deserializerWithOutRootAttribute = ObjectStorage.GetXmlSerializer(type);
453XmlSerializer deserializerWithRootAttribute = ObjectStorage.GetXmlSerializer(_dataType, xmlAttrib);
497XmlSerializer serializerWithOutRootAttribute = ObjectStorage.GetXmlSerializer(value.GetType());
513XmlSerializer serializerWithRootAttribute = ObjectStorage.GetXmlSerializer(value.GetType(), xmlAttrib);
552private static Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>? s_tempAssemblyCache;
573internal static XmlSerializer GetXmlSerializer(Type type)
580XmlSerializer serializer = s_serializerFactory.CreateSerializer(type);
586internal static XmlSerializer GetXmlSerializer(Type type, XmlRootAttribute attribute)
588XmlSerializer? serializer = null;
592Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>? cache = s_tempAssemblyCache;
609Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer> tmp =
610new Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>(
612foreach (KeyValuePair<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer> entry in cache)
620cache = new Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>(
System.Private.Xml (263)
System\Xml\Serialization\XmlSerializerFactory.cs (24)
21[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
22[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
23public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace)
28[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
29[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
30public XmlSerializer CreateSerializer(Type type, XmlRootAttribute? root)
35[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
36[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
37public XmlSerializer CreateSerializer(Type type, Type[]? extraTypes)
42[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
43[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
44public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides? overrides)
49[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
50[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
51public XmlSerializer CreateSerializer(XmlTypeMapping xmlTypeMapping)
56[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
57[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
58public XmlSerializer CreateSerializer(Type type)
63[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
64[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
65public XmlSerializer CreateSerializer(Type type, string? defaultNamespace)
70[RequiresUnreferencedCode(XmlSerializer.TrimSerializationWarning)]
71[RequiresDynamicCode(XmlSerializer.AotSerializationWarning)]
72public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace, string? location)
System.ServiceModel.Syndication (10)
System.Web.Services.Description (3)
System.Xml (1)
System.Xml.Serialization (1)
System.Xml.XmlSerializer (1)