1 instantiation of XmlObjectSerializerWriteContextComplexJson
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
24
return new
XmlObjectSerializerWriteContextComplexJson
(serializer, rootTypeDataContract);
30 references to XmlObjectSerializerWriteContextComplexJson
System.Private.DataContractSerialization (30)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (5)
413
internal static void WriteJsonValue(JsonDataContract contract, XmlWriterDelegator writer, object graph,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
515
XmlObjectSerializerWriteContextComplexJson
context =
XmlObjectSerializerWriteContextComplexJson
.CreateContext(this, contract);
526
XmlObjectSerializerWriteContextComplexJson
context =
XmlObjectSerializerWriteContextComplexJson
.CreateContext(this, RootContract);
System\Runtime\Serialization\Json\JsonClassDataContract.cs (2)
106
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
126
_typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString,
XmlObjectSerializerWriteContextComplexJson
.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\JsonCollectionDataContract.cs (1)
151
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\JsonDataContract.cs (3)
96
public void WriteJsonValue(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
105
public virtual void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
166
_typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.Name.Value : string.Concat(traditionalDataContract.Name.Value, JsonGlobals.NameValueSeparatorString,
XmlObjectSerializerWriteContextComplexJson
.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\JsonEnumDataContract.cs (1)
43
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (5)
108
s_collectionItemNameProperty = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetProperty("CollectionItemName", Globals.ScanAllMembers);
180
s_getRevisedItemContractMethod = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetMethod("GetRevisedItemContract", Globals.ScanAllMembers);
389
s_useSimpleDictionaryFormatWriteProperty = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetProperty("UseSimpleDictionaryFormat", Globals.ScanAllMembers);
426
s_writeJsonISerializableMethod = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetMethod("WriteJsonISerializable", Globals.ScanAllMembers);
438
s_writeJsonNameWithMappingMethod = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetMethod("WriteJsonNameWithMapping", Globals.ScanAllMembers);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
16
internal delegate void JsonFormatClassWriterDelegate(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, ClassDataContract dataContract, XmlDictionaryString[]? memberNames);
17
internal delegate void JsonFormatCollectionWriterDelegate(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, CollectionDataContract dataContract);
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
61
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
50
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
? context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\ReflectionJsonFormatReader.cs (1)
124
var itemContract =
XmlObjectSerializerWriteContextComplexJson
.GetRevisedItemContract(collectionContract.ItemContract);
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (5)
24
public void ReflectionWriteClass(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, ClassDataContract classContract, XmlDictionaryString[]? memberNames)
31
public static void ReflectionWriteCollection(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, CollectionDataContract collectionContract)
38
XmlDictionaryString itemName =
XmlObjectSerializerWriteContextComplexJson
.CollectionItemName;
108
itemContract =
XmlObjectSerializerWriteContextComplexJson
.GetRevisedItemContract(collectionContract.ItemContract);
255
XmlObjectSerializerWriteContextComplexJson
.WriteJsonNameWithMapping(xmlWriter, memberNames, i + childElementIndex);
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
355
return
XmlObjectSerializerWriteContextComplexJson
.ResolveJsonDataContractFromRootDataContract(this, typeQName, rootTypeDataContract!);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
22
internal static
XmlObjectSerializerWriteContextComplexJson
CreateContext(DataContractJsonSerializer serializer, DataContract rootTypeDataContract)
398
return
XmlObjectSerializerWriteContextComplexJson
.ResolveJsonDataContractFromRootDataContract(this, typeQName, rootTypeDataContract!);