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