1 type derived from XmlReaderDelegator
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
11internal sealed class JsonReaderDelegator : XmlReaderDelegator
8 instantiations of XmlReaderDelegator
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContractSerializer.cs (6)
313return ReadObjectHandleExceptions(new XmlReaderDelegator(reader), true /*verifyObjectName*/); 320return ReadObjectHandleExceptions(new XmlReaderDelegator(reader), verifyObjectName); 327return IsStartObjectHandleExceptions(new XmlReaderDelegator(reader)); 334return ReadObjectHandleExceptions(new XmlReaderDelegator(reader), verifyObjectName); 341return IsStartObjectHandleExceptions(new XmlReaderDelegator(reader)); 348return ReadObjectHandleExceptions(new XmlReaderDelegator(reader), verifyObjectName, dataContractResolver);
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
290return ReadObjectHandleExceptions(new XmlReaderDelegator(reader), true /*verifyObjectName*/);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1094return new XmlReaderDelegator(xmlReader);
175 references to XmlReaderDelegator
System.Private.DataContractSerialization (175)
System\Runtime\Serialization\Attributes.cs (7)
40internal void Read(XmlReaderDelegator reader) 103private void ReadId(XmlReaderDelegator reader) 112private void ReadRef(XmlReaderDelegator reader) 121private void ReadXsiNil(XmlReaderDelegator reader) 126private void ReadArraySize(XmlReaderDelegator reader) 133private void ReadXsiType(XmlReaderDelegator reader) 140private void ReadFactoryType(XmlReaderDelegator reader)
System\Runtime\Serialization\ClassDataContract.cs (1)
391internal override object? ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1567internal override object? ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context)
System\Runtime\Serialization\DataContract.cs (2)
176internal virtual object? ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context) 188internal virtual object ReadXmlElement(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
System\Runtime\Serialization\DataContractSerializer.cs (3)
452internal override object? InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName) 459internal override object? InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName, DataContractResolver? dataContractResolver) 508internal override bool InternalIsStartObject(XmlReaderDelegator reader)
System\Runtime\Serialization\EnumDataContract.cs (2)
330internal object ReadEnumValue(XmlReaderDelegator reader) 453internal override object ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (4)
389internal static bool IsJsonLocalName(XmlReaderDelegator reader, string elementName) 401internal static object? ReadJsonValue(DataContract contract, XmlReaderDelegator reader, XmlObjectSerializerReadContextComplexJson? context) 430internal override bool InternalIsStartObject(XmlReaderDelegator reader) 442internal override object? InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName)
System\Runtime\Serialization\Json\JsonByteArrayDataContract.cs (1)
25public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonClassDataContract.cs (1)
96public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonCollectionDataContract.cs (1)
129public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonDataContract.cs (3)
79public object? ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context) 89public virtual object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context) 116protected static bool TryReadNullAtTopLevel(XmlReaderDelegator reader)
System\Runtime\Serialization\Json\JsonEnumDataContract.cs (1)
25public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (7)
206s_isStartElementMethod0 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, Type.EmptyTypes); 218s_isStartElementMethod2 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }); 230s_localNameProperty = typeof(XmlReaderDelegator).GetProperty("LocalName", Globals.ScanAllMembers); 242s_namespaceProperty = typeof(XmlReaderDelegator).GetProperty("NamespaceProperty", Globals.ScanAllMembers); 266s_moveToContentMethod = typeof(XmlReaderDelegator).GetMethod("MoveToContent", Globals.ScanAllMembers); 278s_nodeTypeProperty = typeof(XmlReaderDelegator).GetProperty("NodeType", Globals.ScanAllMembers); 502s_getJsonMemberNameMethod = typeof(XmlObjectSerializerReadContextComplexJson).GetMethod("GetJsonMemberName", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator) });
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (4)
17internal delegate object JsonFormatClassReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson? context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString[]? memberNames); 18internal delegate object JsonFormatCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract); 19internal delegate void JsonFormatGetOnlyCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract); 946_ilg.ConvertValue(typeof(XmlReaderDelegator), typeof(JsonReaderDelegator));
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
23public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonQNameDataContract.cs (1)
25public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonStringDataContract.cs (1)
25public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonUriDataContract.cs (1)
20public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
26public override object? ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson? context)
System\Runtime\Serialization\Json\ReflectionJsonFormatReader.cs (7)
32public object ReflectionReadClass(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson? context, XmlDictionaryString _, XmlDictionaryString[]? memberNames) 45public object ReflectionReadCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract) 52public void ReflectionReadGetOnlyCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract) 62protected override void ReflectionReadMembers(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString[] memberNames, XmlDictionaryString[]? memberNamespaces, ClassDataContract classContract, ref object obj) 117protected override object? ReflectionReadDictionaryItem(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract) 130protected override bool ReflectionReadSpecialCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract, object? resultCollection) 147private void ReadSimpleDictionary(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract, Type keyValueType, object? dictionary)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (11)
39protected override object? ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) 46public int GetJsonMemberIndex(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, int memberIndex, ExtensionDataObject? extensionData) 90protected override void StartReadExtensionDataValue(XmlReaderDelegator xmlReader) 95protected override IDataNode ReadPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader, string? dataContractName, string? dataContractNamespace) 119private static IDataNode ReadNumericalPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader) 145internal override void ReadAttributes(XmlReaderDelegator xmlReader) 247protected override bool IsReadingCollectionExtensionData(XmlReaderDelegator xmlReader) 252protected override bool IsReadingClassExtensionData(XmlReaderDelegator xmlReader) 257protected override XmlReaderDelegator CreateReaderDelegatorForReader(XmlReader xmlReader) 289internal static bool TryGetJsonLocalName(XmlReaderDelegator xmlReader, [NotNullWhen(true)] out string? name) 303public static string GetJsonMemberName(XmlReaderDelegator xmlReader)
System\Runtime\Serialization\PrimitiveDataContract.cs (24)
95_helper.XmlFormatReaderMethod ??= typeof(XmlReaderDelegator).GetMethod(ReadMethodName, Globals.ScanAllMembers)!; 110protected static bool TryReadNullAtTopLevel(XmlReaderDelegator reader) 191internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 228internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 260internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 292internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 324internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 356internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 410internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 441internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 473internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 509internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 566internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 598internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 630internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 662internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 694internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 730internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 868internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 908internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 961internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 1002internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 1039internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context) 1079internal override object? ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext? context)
System\Runtime\Serialization\ReflectionReader.cs (18)
20private delegate object? CollectionReadItemDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract, Type itemType, string itemName, string itemNs); 35public object ReflectionReadClass(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context, XmlDictionaryString[]? memberNames, XmlDictionaryString[]? memberNamespaces, ClassDataContract classContract) 69public void ReflectionReadGetOnlyCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString collectionItemName, XmlDictionaryString collectionItemNamespace, CollectionDataContract collectionContract) 92public object ReflectionReadCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString collectionItemName, XmlDictionaryString collectionItemNamespace, CollectionDataContract collectionContract) 99private object ReflectionReadCollectionCore(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString collectionItemName, XmlDictionaryString collectionItemNamespace, CollectionDataContract collectionContract) 140object? GetReadDictionaryItemDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract, Type itemType, string itemName, string itemNs) 148private object ReadCollectionItems(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString collectionItemName, XmlDictionaryString collectionItemNamespace, CollectionDataContract collectionContract, object resultCollection, bool isReadOnlyCollection) 195protected abstract void ReflectionReadMembers(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString[] memberNames, XmlDictionaryString[]? memberNamespaces, ClassDataContract classContract, ref object obj); 199protected abstract object? ReflectionReadDictionaryItem(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract); 206protected virtual bool ReflectionReadSpecialCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract, object? resultCollection) 225protected void ReflectionReadMember(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, ClassDataContract classContract, ref object obj, int memberIndex, DataMember[] members) 249protected object? ReflectionReadValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, Type type, string name, string ns, PrimitiveDataContract? primitiveContractForOriginalType = null) 277private object? ReadItemOfPrimitiveType(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, Type type, string name, string ns, PrimitiveDataContract? primitiveContract, int nullables) 332private static object ReadISerializable(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, ClassDataContract classContract) 365object? GetReadItemOfPrimitiveTypeDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract, Type itemType, string itemName, string itemNs) 383private object? ReflectionReadValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, DataMember dataMember, string ns) 393private object? ReflectionInternalDeserialize(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract? collectionContract, Type type, string name, string ns) 626private static bool ReflectionTryReadPrimitiveArray(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString collectionItemName, XmlDictionaryString collectionItemNamespace, Type itemType, int arraySize, [NotNullWhen(true)] out object? resultArray)
System\Runtime\Serialization\ReflectionXmlFormatReader.cs (5)
32public object ReflectionReadClass(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context, XmlDictionaryString[]? memberNames, XmlDictionaryString[]? memberNamespaces) 44public object ReflectionReadCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract) 51public void ReflectionReadGetOnlyCollection(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNs, CollectionDataContract collectionContract) 61protected override void ReflectionReadMembers(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString[] memberNames, XmlDictionaryString[]? memberNamespaces, ClassDataContract classContract, ref object obj) 124protected override object? ReflectionReadDictionaryItem(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, CollectionDataContract collectionContract)
System\Runtime\Serialization\XmlDataContract.cs (1)
419internal override object? ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context)
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (6)
141s_isStartElementMethod2 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) }); 155s_isStartElementMethod0 = typeof(XmlReaderDelegator).GetMethod("IsStartElement", Globals.ScanAllMembers, Type.EmptyTypes); 201s_nodeTypeProperty = typeof(XmlReaderDelegator).GetProperty("NodeType", Globals.ScanAllMembers); 364s_internalDeserializeMethod = typeof(XmlObjectSerializerReadContext).GetMethod("InternalDeserialize", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator), typeof(int), typeof(RuntimeTypeHandle), typeof(string), typeof(string) }); 451s_readIfNullOrRefMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ReadIfNullOrRef", Globals.ScanAllMembers, new Type[] { typeof(XmlReaderDelegator), typeof(Type), typeof(bool) }); 663s_createUnexpectedStateExceptionMethod = typeof(XmlObjectSerializerReadContext).GetMethod("CreateUnexpectedStateException", Globals.ScanAllMembers, new Type[] { typeof(XmlNodeType), typeof(XmlReaderDelegator) });
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (4)
21internal delegate object? XmlFormatClassReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext? context, XmlDictionaryString[]? memberNames, XmlDictionaryString[]? memberNamespaces); 22internal delegate object XmlFormatCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract); 23internal delegate void XmlFormatGetOnlyCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract); 882_ilg.Call(typeof(XmlReaderDelegator).GetMethod(readArrayMethod, Globals.ScanAllMembers)!);
System\Runtime\Serialization\XmlObjectSerializer.cs (10)
321internal virtual object? InternalReadObject(XmlReaderDelegator reader, bool verifyObjectName) 328internal virtual object? InternalReadObject(XmlReaderDelegator reader, bool verifyObjectName, DataContractResolver? dataContractResolver) 335internal virtual bool InternalIsStartObject(XmlReaderDelegator reader) 343internal object? ReadObjectHandleExceptions(XmlReaderDelegator reader, bool verifyObjectName) 350internal object? ReadObjectHandleExceptions(XmlReaderDelegator reader, bool verifyObjectName, DataContractResolver? dataContractResolver) 370internal bool IsStartObjectHandleExceptions(XmlReaderDelegator reader) 393internal static bool IsStartElement(XmlReaderDelegator reader) 400internal static bool IsRootElement(XmlReaderDelegator reader, DataContract contract, XmlDictionaryString? name, XmlDictionaryString? ns) 434internal static string TryAddLineInfo(XmlReaderDelegator reader, string errorMessage) 441internal static Exception CreateSerializationExceptionWithReaderDetails(string errorMessage, XmlReaderDelegator reader)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (40)
26private XmlReaderDelegator? _extensionDataReader; 89internal virtual object? InternalDeserialize(XmlReaderDelegator xmlReader, int id, RuntimeTypeHandle declaredTypeHandle, string name, string ns) 97internal virtual object? InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, string? name, string? ns) 105internal virtual object? InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract? dataContract, string? name, string? ns) 113protected bool TryHandleNullOrRef(XmlReaderDelegator reader, string? name, string? ns, Type declaredType, ref object? retObj) 140protected object? InternalDeserialize(XmlReaderDelegator reader, string? name, string? ns, Type declaredType, ref DataContract dataContract) 214internal static bool MoveToNextElement(XmlReaderDelegator xmlReader) 221internal int GetMemberIndex(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces, int memberIndex, ExtensionDataObject? extensionData) 234internal int GetMemberIndexWithRequiredMembers(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces, int memberIndex, int requiredIndex, ExtensionDataObject? extensionData) 250internal static void ThrowRequiredMemberMissingException(XmlReaderDelegator xmlReader, int memberIndex, int requiredIndex, XmlDictionaryString[] memberNames) 266protected void HandleMemberNotFound(XmlReaderDelegator xmlReader, ExtensionDataObject? extensionData, int memberIndex) 280internal void HandleUnknownElement(XmlReaderDelegator xmlReader, ExtensionDataObject extensionData, int memberIndex) 286internal void SkipUnknownElement(XmlReaderDelegator xmlReader) 294internal string ReadIfNullOrRef(XmlReaderDelegator xmlReader, Type memberType, bool isMemberTypeSerializable) 314internal virtual void ReadAttributes(XmlReaderDelegator xmlReader) 435internal static void Read(XmlReaderDelegator xmlReader) 441internal static void ParseQualifiedName(string qname, XmlReaderDelegator xmlReader, out string name, out string? ns, out string prefix) 480internal void CheckEndOfArray(XmlReaderDelegator xmlReader, int arraySize, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) 496internal object? ReadIXmlSerializable(XmlReaderDelegator xmlReader, XmlDataContract xmlDataContract, bool isMemberType) 504internal static object? ReadRootIXmlSerializable(XmlReaderDelegator xmlReader, XmlDataContract xmlDataContract, bool isMemberType) 511internal static object? ReadIXmlSerializable(XmlSerializableReader xmlSerializableReader, XmlReaderDelegator xmlReader, XmlDataContract xmlDataContract, bool isMemberType) 543public SerializationInfo ReadSerializationInfo(XmlReaderDelegator xmlReader, Type type) 599private ExtensionDataMember ReadExtensionDataMember(XmlReaderDelegator xmlReader, int memberIndex) 612public IDataNode? ReadExtensionDataValue(XmlReaderDelegator xmlReader) 705protected virtual void StartReadExtensionDataValue(XmlReaderDelegator xmlReader) 711private IDataNode ReadExtensionDataValue(XmlReaderDelegator xmlReader, string? dataContractName, string? dataContractNamespace) 747protected virtual IDataNode ReadPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader, string? dataContractName, string? dataContractNamespace) 777private IDataNode ReadUnknownPrimitiveData(XmlReaderDelegator xmlReader, Type type, string? dataContractName, string? dataContractNamespace) 786private ClassDataNode ReadUnknownClassData(XmlReaderDelegator xmlReader, string? dataContractName, string? dataContractNamespace) 807private CollectionDataNode ReadUnknownCollectionData(XmlReaderDelegator xmlReader, string? dataContractName, string? dataContractNamespace) 864private ISerializableDataNode ReadUnknownISerializableData(XmlReaderDelegator xmlReader, string? dataContractName, string? dataContractNamespace) 895private XmlDataNode ReadUnknownXmlData(XmlReaderDelegator xmlReader, string? dataContractName, string? dataContractNamespace) 945private IDataNode ReadAndResolveUnknownXmlData(XmlReaderDelegator xmlReader, IDictionary<string, string>? namespaces, 1040internal XmlReaderDelegator CreateReaderOverChildNodes(IList<XmlAttribute>? xmlAttributes, IList<XmlNode> xmlChildNodes) 1043XmlReaderDelegator nodeReader = CreateReaderDelegatorForReader(new XmlNodeReader(wrapperElement)); 1080internal static Exception CreateUnexpectedStateException(XmlNodeType expectedState, XmlReaderDelegator xmlReader) 1087protected virtual object? ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) 1092protected virtual XmlReaderDelegator CreateReaderDelegatorForReader(XmlReader xmlReader) 1097protected virtual bool IsReadingCollectionExtensionData(XmlReaderDelegator xmlReader) 1104protected virtual bool IsReadingClassExtensionData(XmlReaderDelegator xmlReader)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (4)
31internal override object? InternalDeserialize(XmlReaderDelegator xmlReader, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, string name, string ns) 41internal override object? InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, string? name, string? ns) 51internal override object? InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract? dataContract, string? name, string? ns) 61private object? InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract? surrogateDataContract, string? name, string? ns)
System\Runtime\Serialization\XmlSerializableReader.cs (2)
15private XmlReaderDelegator _xmlReader = null!; // initialized in BeginRead 25internal void BeginRead(XmlReaderDelegator xmlReader)