1 instantiation of XmlObjectSerializerWriteContextComplexJson
System.Runtime.Serialization (1)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
37
return new
XmlObjectSerializerWriteContextComplexJson
(serializer, rootTypeDataContract);
24 references to XmlObjectSerializerWriteContextComplexJson
System.Runtime.Serialization (24)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (5)
382
internal static void WriteJsonValue(JsonDataContract contract, XmlWriterDelegator writer, object graph,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
474
XmlObjectSerializerWriteContextComplexJson
context =
XmlObjectSerializerWriteContextComplexJson
.CreateContext(this, contract);
485
XmlObjectSerializerWriteContextComplexJson
context =
XmlObjectSerializerWriteContextComplexJson
.CreateContext(this, RootContract);
System\Runtime\Serialization\Json\JsonClassDataContract.cs (2)
113
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
135
this.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)
135
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\JsonDataContract.cs (3)
92
public void WriteJsonValue(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
99
public virtual void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
167
this.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)
53
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (5)
149
collectionItemNameProperty = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetProperty("CollectionItemName", Globals.ScanAllMembers);
233
getRevisedItemContractMethod = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetMethod("GetRevisedItemContract", Globals.ScanAllMembers);
449
useSimpleDictionaryFormatWriteProperty = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetProperty("UseSimpleDictionaryFormat", Globals.ScanAllMembers);
485
writeJsonISerializableMethod = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetMethod("WriteJsonISerializable", Globals.ScanAllMembers);
497
writeJsonNameWithMappingMethod = typeof(
XmlObjectSerializerWriteContextComplexJson
).GetMethod("WriteJsonNameWithMapping", Globals.ScanAllMembers);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
13
delegate void JsonFormatClassWriterDelegate(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, ClassDataContract dataContract, XmlDictionaryString[] memberNames);
14
delegate void JsonFormatCollectionWriterDelegate(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, CollectionDataContract dataContract);
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
59
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
44
public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj,
XmlObjectSerializerWriteContextComplexJson
context, RuntimeTypeHandle declaredTypeHandle)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
320
return
XmlObjectSerializerWriteContextComplexJson
.ResolveJsonDataContractFromRootDataContract(this, typeQName, rootTypeDataContract);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
35
internal static
XmlObjectSerializerWriteContextComplexJson
CreateContext(DataContractJsonSerializer serializer, DataContract rootTypeDataContract)
415
return
XmlObjectSerializerWriteContextComplexJson
.ResolveJsonDataContractFromRootDataContract(this, typeQName, rootTypeDataContract);