34 instantiations of XmlRoot
BoundTreeGenerator (1)
CSharpSyntaxGenerator (1)
IOperationGenerator (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
Microsoft.Build.Tasks.Core (4)
PresentationFramework (4)
System.Data.Common (8)
System.Private.Xml (1)
System.ServiceModel.Syndication (11)
55 references to XmlRoot
netstandard (1)
PresentationFramework (2)
System.Data.Common (27)
System\Data\Common\ObjectStorage.cs (17)
361public override object ConvertXmlToObject(XmlReader xmlReader, XmlRootAttribute? xmlAttrib)
504public override void ConvertObjectToXml(object value, XmlWriter xmlWriter, XmlRootAttribute? xmlAttrib)
552private static Dictionary<KeyValuePair<Type, XmlRootAttribute>, XmlSerializer>? s_tempAssemblyCache;
586internal static XmlSerializer GetXmlSerializer(Type type, XmlRootAttribute attribute)
589KeyValuePair<Type, XmlRootAttribute> key = new KeyValuePair<Type, XmlRootAttribute>(type, attribute);
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>(
626key = new KeyValuePair<Type, XmlRootAttribute>(type, new XmlRootAttribute());
641private sealed class TempAssemblyComparer : IEqualityComparer<KeyValuePair<Type, XmlRootAttribute>>
643internal static readonly IEqualityComparer<KeyValuePair<Type, XmlRootAttribute>> s_default = new TempAssemblyComparer();
647public bool Equals(KeyValuePair<Type, XmlRootAttribute> x, KeyValuePair<Type, XmlRootAttribute> y)
658public int GetHashCode(KeyValuePair<Type, XmlRootAttribute> obj)
System.Private.DataContractSerialization (3)
System.Private.Xml (17)
System\Xml\Serialization\XmlSerializer.cs (4)
172public XmlSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace) :
179public XmlSerializer(Type type, XmlRootAttribute? root) : this(type, null, Type.EmptyTypes, root, null, null)
276public XmlSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace, string? location)
291private static XmlTypeMapping GenerateXmlTypeMapping(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace)
System\Xml\Serialization\XmlSerializerFactory.cs (3)
23public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace)
30public XmlSerializer CreateSerializer(Type type, XmlRootAttribute? root)
72public XmlSerializer CreateSerializer(Type type, XmlAttributeOverrides? overrides, Type[]? extraTypes, XmlRootAttribute? root, string? defaultNamespace, string? location)
System.Runtime.Serialization.Schema (1)
System.Xml (1)
System.Xml.ReaderWriter (1)
System.Xml.Serialization (1)
System.Xml.XmlSerializer (1)