1 type derived from XmlObjectSerializerWriteContext
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
22
internal class XmlObjectSerializerWriteContextComplex :
XmlObjectSerializerWriteContext
1 instantiation of XmlObjectSerializerWriteContext
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
41
: new
XmlObjectSerializerWriteContext
(serializer, rootTypeDataContract, dataContractResolver);
54 references to XmlObjectSerializerWriteContext
dotnet-svcutil-lib (54)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (1)
528
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
1422
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
307
public virtual void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (4)
334
XmlObjectSerializerWriteContext
context =
XmlObjectSerializerWriteContext
.CreateContext(this, contract
347
XmlObjectSerializerWriteContext
context = null;
352
context =
XmlObjectSerializerWriteContext
.CreateContext(this, RootContract
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (1)
438
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (4)
354
private void WriteExceptionValue(XmlWriterDelegator writer, object value,
XmlObjectSerializerWriteContext
context)
391
private void WriteSystemExceptionRequiredValues(XmlWriterDelegator writer, object value,
XmlObjectSerializerWriteContext
context)
505
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
541
private bool TryWritePrimitive(Type type, object value, XmlWriterDelegator writer,
XmlObjectSerializerWriteContext
context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\PrimitiveDataContract.cs (24)
102
_helper.XmlFormatWriterMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
122
_helper.XmlFormatContentWriterMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType });
145
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
222
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
247
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
272
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
297
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
322
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
347
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
372
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
397
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
426
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
451
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
521
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
546
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
571
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
596
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
625
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
660
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
691
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
750
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
779
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
804
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
840
public override void WriteXmlValue(XmlWriterDelegator writer, object obj,
XmlObjectSerializerWriteContext
context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (2)
482
public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj,
XmlObjectSerializerWriteContext
context)
485
XmlObjectSerializerWriteContext
.WriteRootIXmlSerializable(xmlWriter, obj);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (13)
284
s_storeIsGetOnlyCollectionMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("StoreIsGetOnlyCollection", Globals.ScanAllMembers);
669
s_internalSerializeReferenceMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("InternalSerializeReference", Globals.ScanAllMembers);
685
s_internalSerializeMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("InternalSerialize", Globals.ScanAllMembers);
701
s_writeNullMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("WriteNull", Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), typeof(Type), typeof(bool) });
717
s_incrementArrayCountMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("IncrementArrayCount", Globals.ScanAllMembers);
733
s_incrementCollectionCountMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("IncrementCollectionCount", Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), typeof(ICollection) });
749
s_incrementCollectionCountGenericMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("IncrementCollectionCountGeneric", Globals.ScanAllMembers);
765
s_getDefaultValueMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("GetDefaultValue", Globals.ScanAllMembers);
781
s_getNullableValueMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("GetNullableValue", Globals.ScanAllMembers);
797
s_throwRequiredMemberMustBeEmittedMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("ThrowRequiredMemberMustBeEmitted", Globals.ScanAllMembers);
813
s_getHasValueMethod = typeof(
XmlObjectSerializerWriteContext
).GetMethod("GetHasValue", Globals.ScanAllMembers);
831
s_isMemberTypeSameAsMemberValue = typeof(
XmlObjectSerializerWriteContext
).GetMethod("IsMemberTypeSameAsMemberValue", Globals.ScanAllMembers, new Type[] { typeof(object), typeof(Type) });
1052
s_serializeReadOnlyTypesProperty = typeof(
XmlObjectSerializerWriteContext
).GetProperty("SerializeReadOnlyTypes", Globals.ScanAllMembers);
FrameworkFork\System.Runtime.Serialization\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);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
37
internal static
XmlObjectSerializerWriteContext
CreateContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver)