8 instantiations of XmlReaderDelegator
dotnet-svcutil-lib (8)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (5)
272
return ReadObjectHandleExceptions(new
XmlReaderDelegator
(reader), true /*verifyObjectName*/);
277
return ReadObjectHandleExceptions(new
XmlReaderDelegator
(reader), verifyObjectName);
282
return IsStartObjectHandleExceptions(new
XmlReaderDelegator
(reader));
287
return ReadObjectHandleExceptions(new
XmlReaderDelegator
(reader), verifyObjectName);
292
return IsStartObjectHandleExceptions(new
XmlReaderDelegator
(reader));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
590
XmlReaderDelegator xmlDelegator = new
XmlReaderDelegator
(XmlDictionaryReader.CreateTextReader(byteBuffer, XmlDictionaryReaderQuotas.Max));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
235
return ReadObjectHandleExceptions(new
XmlReaderDelegator
(reader), true /*verifyObjectName*/);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
593
return new
XmlReaderDelegator
(xmlReader);
96 references to XmlReaderDelegator
dotnet-svcutil-lib (96)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Attributes.cs (7)
70
internal void Read(
XmlReaderDelegator
reader)
133
private void ReadId(
XmlReaderDelegator
reader)
142
private void ReadRef(
XmlReaderDelegator
reader)
151
private void ReadXsiNil(
XmlReaderDelegator
reader)
156
private void ReadArraySize(
XmlReaderDelegator
reader)
163
private void ReadXsiType(
XmlReaderDelegator
reader)
170
private void ReadFactoryType(
XmlReaderDelegator
reader)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (1)
537
public override object ReadXmlValue(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
1429
public override object ReadXmlValue(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
312
public virtual object ReadXmlValue(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (3)
389
internal override object InternalReadObject(
XmlReaderDelegator
xmlReader, bool verifyObjectName)
394
internal override object InternalReadObject(
XmlReaderDelegator
xmlReader, bool verifyObjectName, DataContractResolver dataContractResolver)
446
internal override bool InternalIsStartObject(
XmlReaderDelegator
reader)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (2)
380
internal object ReadEnumValue(
XmlReaderDelegator
reader)
443
public override object ReadXmlValue(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (5)
516
public override object ReadXmlValue(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context)
518
XmlReaderDelegator
xmlDelegator = ParseReaderString(xmlReader);
580
private
XmlReaderDelegator
ParseReaderString(
XmlReaderDelegator
xmlReader)
590
XmlReaderDelegator
xmlDelegator = new XmlReaderDelegator(XmlDictionaryReader.CreateTextReader(byteBuffer, XmlDictionaryReaderQuotas.Max));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\PrimitiveDataContract.cs (23)
139
_helper.XmlFormatReaderMethod = typeof(
XmlReaderDelegator
).GetMethod(ReadMethodName, Globals.ScanAllMembers);
156
protected bool TryReadNullAtTopLevel(
XmlReaderDelegator
reader)
227
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
252
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
277
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
302
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
327
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
352
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
377
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
402
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
431
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
456
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
526
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
551
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
576
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
601
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
630
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
665
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
696
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
755
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
784
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
809
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
845
public override object ReadXmlValue(
XmlReaderDelegator
reader, XmlObjectSerializerReadContext context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (1)
490
public override object ReadXmlValue(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (6)
159
s_isStartElementMethod2 = typeof(
XmlReaderDelegator
).GetMethod("IsStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
175
s_isStartElementMethod0 = typeof(
XmlReaderDelegator
).GetMethod("IsStartElement", Globals.ScanAllMembers, Array.Empty<Type>());
207
s_nodeTypeProperty = typeof(
XmlReaderDelegator
).GetProperty("NodeType", Globals.ScanAllMembers);
348
s_internalDeserializeMethod = typeof(XmlObjectSerializerReadContext).GetMethod("InternalDeserialize", Globals.ScanAllMembers, new Type[] { typeof(
XmlReaderDelegator
), typeof(int), typeof(RuntimeTypeHandle), typeof(string), typeof(string) });
444
s_readIfNullOrRefMethod = typeof(XmlObjectSerializerReadContext).GetMethod("ReadIfNullOrRef", Globals.ScanAllMembers, new Type[] { typeof(
XmlReaderDelegator
), typeof(Type), typeof(bool) });
653
s_createUnexpectedStateExceptionMethod = typeof(XmlObjectSerializerReadContext).GetMethod("CreateUnexpectedStateException", Globals.ScanAllMembers, new Type[] { typeof(XmlNodeType), typeof(
XmlReaderDelegator
) });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (4)
23
internal delegate object XmlFormatClassReaderDelegate(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces);
24
internal delegate object XmlFormatCollectionReaderDelegate(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract);
25
internal delegate void XmlFormatGetOnlyCollectionReaderDelegate(
XmlReaderDelegator
xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract);
740
_ilg.Call(typeof(
XmlReaderDelegator
).GetMethod(readArrayMethod, Globals.ScanAllMembers));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (10)
254
internal virtual object InternalReadObject(
XmlReaderDelegator
reader, bool verifyObjectName)
259
internal virtual object InternalReadObject(
XmlReaderDelegator
reader, bool verifyObjectName, DataContractResolver dataContractResolver)
264
internal virtual bool InternalIsStartObject(
XmlReaderDelegator
reader)
270
internal object ReadObjectHandleExceptions(
XmlReaderDelegator
reader, bool verifyObjectName)
275
internal object ReadObjectHandleExceptions(
XmlReaderDelegator
reader, bool verifyObjectName, DataContractResolver dataContractResolver)
292
internal bool IsStartObjectHandleExceptions(
XmlReaderDelegator
reader)
314
internal bool IsStartElement(
XmlReaderDelegator
reader)
319
internal bool IsRootElement(
XmlReaderDelegator
reader, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns)
359
internal static string TryAddLineInfo(
XmlReaderDelegator
reader, string errorMessage)
366
internal static Exception CreateSerializationExceptionWithReaderDetails(string errorMessage,
XmlReaderDelegator
reader)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (25)
106
internal virtual object InternalDeserialize(
XmlReaderDelegator
xmlReader, int id, RuntimeTypeHandle declaredTypeHandle, string name, string ns)
113
internal virtual object InternalDeserialize(
XmlReaderDelegator
xmlReader, Type declaredType, string name, string ns)
119
internal virtual object InternalDeserialize(
XmlReaderDelegator
xmlReader, Type declaredType, DataContract dataContract, string name, string ns)
126
protected bool TryHandleNullOrRef(
XmlReaderDelegator
reader, Type declaredType, string name, string ns, ref object retObj)
151
protected object InternalDeserialize(
XmlReaderDelegator
reader, string name, string ns, ref DataContract dataContract)
208
internal static bool MoveToNextElement(
XmlReaderDelegator
xmlReader)
217
internal int GetMemberIndex(
XmlReaderDelegator
xmlReader, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces, int memberIndex, ExtensionDataObject extensionData)
232
internal int GetMemberIndexWithRequiredMembers(
XmlReaderDelegator
xmlReader, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces, int memberIndex, int requiredIndex, ExtensionDataObject extensionData)
251
internal static void ThrowRequiredMemberMissingException(
XmlReaderDelegator
xmlReader, int memberIndex, int requiredIndex, XmlDictionaryString[] memberNames)
304
protected void HandleMemberNotFound(
XmlReaderDelegator
xmlReader, ExtensionDataObject extensionData, int memberIndex)
316
internal void HandleUnknownElement(
XmlReaderDelegator
xmlReader, ExtensionDataObject extensionData, int memberIndex)
323
internal void SkipUnknownElement(
XmlReaderDelegator
xmlReader)
333
internal string ReadIfNullOrRef(
XmlReaderDelegator
xmlReader, Type memberType, bool isMemberTypeSerializable)
354
internal virtual void ReadAttributes(
XmlReaderDelegator
xmlReader)
445
internal static void Read(
XmlReaderDelegator
xmlReader)
452
internal static void ParseQualifiedName(string qname,
XmlReaderDelegator
xmlReader, out string name, out string ns, out string prefix)
503
internal void CheckEndOfArray(
XmlReaderDelegator
xmlReader, int arraySize, XmlDictionaryString itemName, XmlDictionaryString itemNamespace)
518
internal object ReadIXmlSerializable(
XmlReaderDelegator
xmlReader, XmlDataContract xmlDataContract, bool isMemberType)
525
internal static object ReadRootIXmlSerializable(
XmlReaderDelegator
xmlReader, XmlDataContract xmlDataContract, bool isMemberType)
530
internal static object ReadIXmlSerializable(XmlSerializableReader xmlSerializableReader,
XmlReaderDelegator
xmlReader, XmlDataContract xmlDataContract, bool isMemberType)
570
internal static Exception CreateUnexpectedStateException(XmlNodeType expectedState,
XmlReaderDelegator
xmlReader)
586
protected virtual object ReadDataContractValue(DataContract dataContract,
XmlReaderDelegator
reader)
591
protected virtual
XmlReaderDelegator
CreateReaderDelegatorForReader(XmlReader xmlReader)
596
protected virtual bool IsReadingCollectionExtensionData(
XmlReaderDelegator
xmlReader)
601
protected virtual bool IsReadingClassExtensionData(
XmlReaderDelegator
xmlReader)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (5)
37
internal override object InternalDeserialize(
XmlReaderDelegator
xmlReader, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, string name, string ns)
52
internal override object InternalDeserialize(
XmlReaderDelegator
xmlReader, Type declaredType, string name, string ns)
67
internal override object InternalDeserialize(
XmlReaderDelegator
xmlReader, Type declaredType, DataContract dataContract, string name, string ns)
82
private object InternalDeserializeInSharedTypeMode(
XmlReaderDelegator
xmlReader, int declaredTypeID, Type declaredType, string name, string ns)
120
private object InternalDeserializeWithSurrogate(
XmlReaderDelegator
xmlReader, Type declaredType, DataContract surrogateDataContract, string name, string ns)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableReader.cs (2)
16
private
XmlReaderDelegator
_xmlReader;
26
internal void BeginRead(
XmlReaderDelegator
xmlReader)