1 type derived from XmlObjectSerializerReadContext
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
26
internal class XmlObjectSerializerReadContextComplex :
XmlObjectSerializerReadContext
1 instantiation of XmlObjectSerializerReadContext
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
101
: new
XmlObjectSerializerReadContext
(serializer, rootTypeDataContract, dataContractResolver);
84 references to XmlObjectSerializerReadContext
System.Runtime.Serialization (84)
System\Runtime\Serialization\Attributes.cs (2)
157
XmlObjectSerializerReadContext
.ParseQualifiedName(xsiTypeString, reader, out XsiTypeName, out XsiTypeNamespace, out XsiTypePrefix);
164
XmlObjectSerializerReadContext
.ParseQualifiedName(factoryTypeString, reader, out FactoryTypeName, out FactoryTypeNamespace, out FactoryTypePrefix);
System\Runtime\Serialization\ClassDataContract.cs (1)
444
public override object ReadXmlValue(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1427
public override object ReadXmlValue(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context)
System\Runtime\Serialization\DataContract.cs (1)
221
public virtual object ReadXmlValue(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context)
System\Runtime\Serialization\DataContractSerializer.cs (3)
487
return
XmlObjectSerializerReadContext
.ReadRootIXmlSerializable(xmlReader, contract as XmlDataContract, false /*isMemberType*/);
490
XmlObjectSerializerReadContext
context =
XmlObjectSerializerReadContext
.CreateContext(this, contract, dataContractResolver);
System\Runtime\Serialization\EnumDataContract.cs (1)
498
public override object ReadXmlValue(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context)
System\Runtime\Serialization\ExtensionDataReader.cs (3)
49
XmlObjectSerializerReadContext
context;
73
internal ExtensionDataReader(
XmlObjectSerializerReadContext
context)
618
XmlNode wrapperElement =
XmlObjectSerializerReadContext
.CreateWrapperXmlElement(dataNode.OwnerDocument,
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
104
protected static object HandleReadValue(object obj,
XmlObjectSerializerReadContext
context)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
261
internal bool TryReadJsonDateTimeArray(
XmlObjectSerializerReadContext
context,
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
430
XmlObjectSerializerReadContext
context =
XmlObjectSerializerReadContext
.CreateContext(this);
System\Runtime\Serialization\PrimitiveDataContract.cs (22)
127
protected object HandleReadValue(object obj,
XmlObjectSerializerReadContext
context)
215
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
242
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
264
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
286
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
308
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
330
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
352
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
374
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
401
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
443
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
465
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
487
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
509
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
531
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
558
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
666
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
694
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
752
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
784
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
811
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
844
public override object ReadXmlValue(XmlReaderDelegator reader,
XmlObjectSerializerReadContext
context)
System\Runtime\Serialization\SurrogateDataContract.cs (1)
82
public override object ReadXmlValue(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context)
System\Runtime\Serialization\XmlDataContract.cs (2)
440
public override object ReadXmlValue(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context)
445
o =
XmlObjectSerializerReadContext
.ReadRootIXmlSerializable(xmlReader, this, true /*isMemberType*/);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (26)
285
getCollectionMemberMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("GetCollectionMember", Globals.ScanAllMembers);
298
storeCollectionMemberInfoMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("StoreCollectionMemberInfo", Globals.ScanAllMembers, null, new Type[] { typeof(object) }, null);
324
throwNullValueReturnedForGetOnlyCollectionExceptionMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ThrowNullValueReturnedForGetOnlyCollectionException", Globals.ScanAllMembers);
336
throwArrayExceededSizeExceptionMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ThrowArrayExceededSizeException", Globals.ScanAllMembers);
396
internalDeserializeMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("InternalDeserialize", Globals.ScanAllMembers, null, new Type[] { typeof(XmlReaderDelegator), typeof(int), typeof(RuntimeTypeHandle), typeof(string), typeof(string) }, null);
409
moveToNextElementMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("MoveToNextElement", Globals.ScanAllMembers);
422
getMemberIndexMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("GetMemberIndex", Globals.ScanAllMembers);
435
getMemberIndexWithRequiredMembersMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("GetMemberIndexWithRequiredMembers", Globals.ScanAllMembers);
448
throwRequiredMemberMissingExceptionMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ThrowRequiredMemberMissingException", Globals.ScanAllMembers);
461
skipUnknownElementMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("SkipUnknownElement", Globals.ScanAllMembers);
474
readIfNullOrRefMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ReadIfNullOrRef", Globals.ScanAllMembers, null, new Type[] { typeof(XmlReaderDelegator), typeof(Type), typeof(bool) }, null);
487
readAttributesMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ReadAttributes", Globals.ScanAllMembers);
500
resetAttributesMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ResetAttributes", Globals.ScanAllMembers);
513
getObjectIdMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("GetObjectId", Globals.ScanAllMembers);
526
getArraySizeMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("GetArraySize", Globals.ScanAllMembers);
539
addNewObjectMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("AddNewObject", Globals.ScanAllMembers);
552
addNewObjectWithIdMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("AddNewObjectWithId", Globals.ScanAllMembers);
565
replaceDeserializedObjectMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ReplaceDeserializedObject", Globals.ScanAllMembers);
578
getExistingObjectMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("GetExistingObject", Globals.ScanAllMembers);
591
getRealObjectMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("GetRealObject", Globals.ScanAllMembers);
604
readMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("Read", Globals.ScanAllMembers);
617
ensureArraySizeMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("EnsureArraySize", Globals.ScanAllMembers);
630
trimArraySizeMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("TrimArraySize", Globals.ScanAllMembers);
643
checkEndOfArrayMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("CheckEndOfArray", Globals.ScanAllMembers);
669
readSerializationInfoMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("ReadSerializationInfo", Globals.ScanAllMembers);
682
createUnexpectedStateExceptionMethod = typeof(
XmlObjectSerializerReadContext
).GetMethod("CreateUnexpectedStateException", Globals.ScanAllMembers, null, new Type[] { typeof(XmlNodeType), typeof(XmlReaderDelegator) }, null);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (3)
22
internal delegate object XmlFormatClassReaderDelegate(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces);
23
internal delegate object XmlFormatCollectionReaderDelegate(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract);
24
internal delegate void XmlFormatGetOnlyCollectionReaderDelegate(XmlReaderDelegator xmlReader,
XmlObjectSerializerReadContext
context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
97
internal static
XmlObjectSerializerReadContext
CreateContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver)
104
internal static
XmlObjectSerializerReadContext
CreateContext(NetDataContractSerializer serializer)
System\Runtime\Serialization\XmlReaderDelegator.cs (10)
816
XmlObjectSerializerReadContext
.ParseQualifiedName(str, this, out name, out ns, out prefix);
820
void CheckExpectedArrayLength(
XmlObjectSerializerReadContext
context, int arrayLength)
833
protected int GetArrayLengthQuota(
XmlObjectSerializerReadContext
context)
847
internal bool TryReadBooleanArray(
XmlObjectSerializerReadContext
context,
877
internal bool TryReadDateTimeArray(
XmlObjectSerializerReadContext
context,
907
internal bool TryReadDecimalArray(
XmlObjectSerializerReadContext
context,
937
internal bool TryReadInt32Array(
XmlObjectSerializerReadContext
context,
967
internal bool TryReadInt64Array(
XmlObjectSerializerReadContext
context,
997
internal bool TryReadSingleArray(
XmlObjectSerializerReadContext
context,
1027
internal bool TryReadDoubleArray(
XmlObjectSerializerReadContext
context,
System\Runtime\Serialization\XmlSerializableReader.cs (2)
27
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
XmlObjectSerializerReadContext
.CreateUnexpectedStateException(XmlNodeType.Element, xmlReader));
45
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
XmlObjectSerializerReadContext
.CreateUnexpectedStateException(XmlNodeType.EndElement, xmlReader));