34 instantiations of XmlRoot
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
Microsoft.Build.Tasks.Core (4)
PresentationFramework (4)
System.Data.Common (8)
System.Private.Xml (1)
System.ServiceModel.Primitives (2)
System.ServiceModel.Syndication (11)
System.Web.Services.Description (1)
56 references to XmlRoot
netstandard (1)
PresentationFramework (2)
System.Data.Common (27)
System\Data\Common\ObjectStorage.cs (17)
359public override object ConvertXmlToObject(XmlReader xmlReader, XmlRootAttribute? xmlAttrib)
500public override void ConvertObjectToXml(object value, XmlWriter xmlWriter, XmlRootAttribute? xmlAttrib)
548private static Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>? s_tempAssemblyCache;
580internal static XmlSerializer GetXmlSerializer(Type type, XmlRootAttribute attribute)
583KeyValuePair<Type, XmlRootAttribute> key = new KeyValuePair<Type, XmlRootAttribute>(type, attribute);
586Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>? cache = s_tempAssemblyCache;
603Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer> tmp =
604new Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>(
606foreach (KeyValuePair<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer> entry in cache)
614cache = new Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>(
620key = new KeyValuePair<Type, XmlRootAttribute>(type, new XmlRootAttribute());
635private sealed class TempAssemblyComparer : IEqualityComparer<KeyValuePair<Type, XmlRootAttribute>>
637internal static readonly IEqualityComparer<KeyValuePair<Type, XmlRootAttribute>> s_default = new TempAssemblyComparer();
641public bool Equals(KeyValuePair<Type, XmlRootAttribute> x, KeyValuePair<Type, XmlRootAttribute> y)
652public int GetHashCode(KeyValuePair<Type, XmlRootAttribute> obj)
System.Private.DataContractSerialization (3)
System.Private.Xml (17)
System\Xml\Serialization\XmlSerializer.cs (4)
170public XmlSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace) :
176public XmlSerializer(Type type, XmlRootAttribute? root) : this(type, null, Type.EmptyTypes, root, null, null)
267public XmlSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace, string? location)
281private static XmlTypeMapping GenerateXmlTypeMapping(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace)
System\Xml\Serialization\XmlSerializerFactory.cs (3)
22public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace)
28public XmlSerializer CreateSerializer(Type type, XmlRootAttribute? root)
64public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace, string? location)
System.Runtime.Serialization.Schema (1)
System.ServiceModel.Primitives (1)
System.Xml (1)
System.Xml.ReaderWriter (1)
System.Xml.Serialization (1)
System.Xml.XmlSerializer (1)