2 types derived from XmlObjectSerializerContext
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
19
internal class XmlObjectSerializerReadContext :
XmlObjectSerializerContext
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
23
internal class XmlObjectSerializerWriteContext :
XmlObjectSerializerContext
10 references to XmlObjectSerializerContext
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\DataContractSerializer.cs (1)
185
_knownDataContracts =
XmlObjectSerializerContext
.GetDataContractsForKnownTypes(_knownTypeList);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
139
this.knownDataContracts =
XmlObjectSerializerContext
.GetDataContractsForKnownTypes(this.knownTypeList);
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
129
protected void PopKnownDataContracts(
XmlObjectSerializerContext
? context)
138
protected void PushKnownDataContracts(
XmlObjectSerializerContext
? context)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
62
private static List<Type> GetKnownTypesFromContext(
XmlObjectSerializerContext
? context, IList<Type>? serializerKnownTypeList)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
403
internal static DataContract? ResolveJsonDataContractFromRootDataContract(
XmlObjectSerializerContext
context, XmlQualifiedName typeQName, DataContract rootTypeDataContract)
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (2)
13
private readonly
XmlObjectSerializerContext
_context;
15
internal KnownTypeDataContractResolver(
XmlObjectSerializerContext
context)
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (2)
237
s_getStreamingContextMethod = typeof(
XmlObjectSerializerContext
).GetMethod("GetStreamingContext", Globals.ScanAllMembers);
349
s_incrementItemCountMethod = typeof(
XmlObjectSerializerContext
).GetMethod("IncrementItemCount", Globals.ScanAllMembers);