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