1 type derived from XmlObjectSerializerWriteContext
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
24
internal class XmlObjectSerializerWriteContextComplex :
XmlObjectSerializerWriteContext
1 instantiation of XmlObjectSerializerWriteContext
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
42
: new
XmlObjectSerializerWriteContext
(serializer, rootTypeDataContract, dataContractResolver);
55 references to XmlObjectSerializerWriteContext
System.Runtime.Serialization (55)
System\Runtime\Serialization\ClassDataContract.cs (1)
439
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1420
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
System\Runtime\Serialization\DataContract.cs (1)
216
public virtual void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
System\Runtime\Serialization\DataContractSerializer.cs (4)
386
XmlObjectSerializerWriteContext
context =
XmlObjectSerializerWriteContext
.CreateContext(this, contract, dataContractResolver);
397
XmlObjectSerializerWriteContext
context = null;
402
context =
XmlObjectSerializerWriteContext
.CreateContext(this, RootContract, dataContractResolver);
System\Runtime\Serialization\EnumDataContract.cs (1)
493
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
260
XmlObjectSerializerWriteContext
context = null;
263
context =
XmlObjectSerializerWriteContext
.CreateContext(this, surrogateDataContracts);
System\Runtime\Serialization\PrimitiveDataContract.cs (24)
83
helper.XmlFormatWriterMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod(WriteMethodName, Globals.ScanAllMembers, null, new Type[] { typeof(XmlWriterDelegator), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
101
helper.XmlFormatContentWriterMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod(WriteMethodName, Globals.ScanAllMembers, null, new Type[] { typeof(XmlWriterDelegator), UnderlyingType }, null);
122
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
210
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
237
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
259
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
281
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
303
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
325
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
347
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
369
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
396
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
438
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
460
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
482
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
504
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
526
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
553
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
661
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
689
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
747
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
779
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
806
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
839
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
System\Runtime\Serialization\SurrogateDataContract.cs (1)
39
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
System\Runtime\Serialization\XmlDataContract.cs (2)
432
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
435
XmlObjectSerializerWriteContext
.WriteRootIXmlSerializable(xmlWriter, obj);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (14)
311
storeIsGetOnlyCollectionMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("StoreIsGetOnlyCollection", Globals.ScanAllMembers);
695
internalSerializeReferenceMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("InternalSerializeReference", Globals.ScanAllMembers);
708
internalSerializeMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("InternalSerialize", Globals.ScanAllMembers);
721
writeNullMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("WriteNull", Globals.ScanAllMembers, null, new Type[] { typeof(XmlWriterDelegator), typeof(Type), typeof(bool) }, null);
734
incrementArrayCountMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("IncrementArrayCount", Globals.ScanAllMembers);
747
incrementCollectionCountMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("IncrementCollectionCount", Globals.ScanAllMembers, null, new Type[] { typeof(XmlWriterDelegator), typeof(ICollection) }, null);
760
incrementCollectionCountGenericMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("IncrementCollectionCountGeneric", Globals.ScanAllMembers);
773
getDefaultValueMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("GetDefaultValue", Globals.ScanAllMembers);
786
getNullableValueMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("GetNullableValue", Globals.ScanAllMembers);
799
throwRequiredMemberMustBeEmittedMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("ThrowRequiredMemberMustBeEmitted", Globals.ScanAllMembers);
812
getHasValueMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("GetHasValue", Globals.ScanAllMembers);
825
writeISerializableMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("WriteISerializable", Globals.ScanAllMembers);
838
writeExtensionDataMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("WriteExtensionData", Globals.ScanAllMembers);
1033
serializeReadOnlyTypesProperty = typeof(
XmlObjectSerializerWriteContext
).GetProperty("SerializeReadOnlyTypes", Globals.ScanAllMembers);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
22
internal delegate void XmlFormatClassWriterDelegate(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context, ClassDataContract dataContract);
23
internal delegate void XmlFormatCollectionWriterDelegate(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context, CollectionDataContract dataContract);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
38
internal static
XmlObjectSerializerWriteContext
CreateContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver)
45
internal static
XmlObjectSerializerWriteContext
CreateContext(NetDataContractSerializer serializer, Hashtable surrogateDataContracts)