8 instantiations of XmlWriterDelegator
dotnet-svcutil-lib (8)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (7)
237
WriteObjectHandleExceptions(new
XmlWriterDelegator
(writer), graph);
242
WriteStartObjectHandleExceptions(new
XmlWriterDelegator
(writer), graph);
247
WriteObjectContentHandleExceptions(new
XmlWriterDelegator
(writer), graph);
252
WriteEndObjectHandleExceptions(new
XmlWriterDelegator
(writer));
257
WriteStartObjectHandleExceptions(new
XmlWriterDelegator
(writer), graph);
262
WriteObjectContentHandleExceptions(new
XmlWriterDelegator
(writer), graph);
267
WriteEndObjectHandleExceptions(new
XmlWriterDelegator
(writer));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
57
WriteObjectHandleExceptions(new
XmlWriterDelegator
(writer), graph);
121 references to XmlWriterDelegator
dotnet-svcutil-lib (121)
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 (3)
307
public virtual void WriteXmlValue(
XmlWriterDelegator
xmlWriter, object obj, XmlObjectSerializerWriteContext context)
491
internal virtual void WriteRootElement(
XmlWriterDelegator
writer, XmlDictionaryString name, XmlDictionaryString ns)
1252
internal virtual void WriteRootElement(
XmlWriterDelegator
writer, XmlDictionaryString name, XmlDictionaryString ns)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (6)
223
internal override void InternalWriteObject(
XmlWriterDelegator
writer, object graph)
228
internal override void InternalWriteObject(
XmlWriterDelegator
writer, object graph, DataContractResolver dataContractResolver)
295
internal override void InternalWriteStartObject(
XmlWriterDelegator
writer, object graph)
300
internal override void InternalWriteObjectContent(
XmlWriterDelegator
writer, object graph)
305
internal void InternalWriteObjectContent(
XmlWriterDelegator
writer, object graph, DataContractResolver dataContractResolver)
381
internal override void InternalWriteEndObject(
XmlWriterDelegator
writer)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (2)
333
internal void WriteEnumValue(
XmlWriterDelegator
writer, object value)
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 (27)
100
_helper.XmlFormatWriterMethod = typeof(
XmlWriterDelegator
).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
102
_helper.XmlFormatWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(
XmlWriterDelegator
), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
120
_helper.XmlFormatContentWriterMethod = typeof(
XmlWriterDelegator
).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType });
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)
857
internal override void WriteRootElement(
XmlWriterDelegator
writer, XmlDictionaryString name, XmlDictionaryString ns)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (1)
482
public override void WriteXmlValue(
XmlWriterDelegator
xmlWriter, object obj, XmlObjectSerializerWriteContext context)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (6)
33
s_writeStartElementMethod2 = typeof(
XmlWriterDelegator
).GetMethod("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
49
s_writeStartElementMethod3 = typeof(
XmlWriterDelegator
).GetMethod("WriteStartElement", Globals.ScanAllMembers, new Type[] { typeof(string), typeof(XmlDictionaryString), typeof(XmlDictionaryString) });
65
s_writeEndElementMethod = typeof(
XmlWriterDelegator
).GetMethod("WriteEndElement", Globals.ScanAllMembers, Array.Empty<Type>());
81
s_writeNamespaceDeclMethod = typeof(
XmlWriterDelegator
).GetMethod("WriteNamespaceDecl", Globals.ScanAllMembers, new Type[] { typeof(XmlDictionaryString) });
701
s_writeNullMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("WriteNull", Globals.ScanAllMembers, new Type[] { typeof(
XmlWriterDelegator
), typeof(Type), typeof(bool) });
733
s_incrementCollectionCountMethod = typeof(XmlObjectSerializerWriteContext).GetMethod("IncrementCollectionCount", Globals.ScanAllMembers, new Type[] { typeof(
XmlWriterDelegator
), typeof(ICollection) });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (3)
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);
545
_ilg.Call(typeof(
XmlWriterDelegator
).GetMethod(writeArrayMethod, Globals.ScanAllMembers, new Type[] { type, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (12)
60
internal void WriteObjectHandleExceptions(
XmlWriterDelegator
writer, object graph)
65
internal void WriteObjectHandleExceptions(
XmlWriterDelegator
writer, object graph, DataContractResolver dataContractResolver)
92
internal virtual void InternalWriteObject(
XmlWriterDelegator
writer, object graph)
99
internal virtual void InternalWriteObject(
XmlWriterDelegator
writer, object graph, DataContractResolver dataContractResolver)
104
internal virtual void InternalWriteStartObject(
XmlWriterDelegator
writer, object graph)
109
internal virtual void InternalWriteObjectContent(
XmlWriterDelegator
writer, object graph)
114
internal virtual void InternalWriteEndObject(
XmlWriterDelegator
writer)
120
internal void WriteStartObjectHandleExceptions(
XmlWriterDelegator
writer, object graph)
137
internal void WriteObjectContentHandleExceptions(
XmlWriterDelegator
writer, object graph)
158
internal void WriteEndObjectHandleExceptions(
XmlWriterDelegator
writer)
175
internal void WriteRootElement(
XmlWriterDelegator
writer, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns, bool needsContractNsAtRoot)
210
internal static void WriteNull(
XmlWriterDelegator
writer)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (39)
101
internal void InternalSerializeReference(
XmlWriterDelegator
xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
112
internal virtual void InternalSerialize(
XmlWriterDelegator
xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
142
internal void SerializeWithoutXsiType(DataContract dataContract,
XmlWriterDelegator
xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle)
158
internal virtual void SerializeWithXsiTypeAtTopLevel(DataContract dataContract,
XmlWriterDelegator
xmlWriter, object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType)
177
protected virtual void SerializeWithXsiType(
XmlWriterDelegator
xmlWriter, object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
233
internal bool OnHandleIsReference(
XmlWriterDelegator
xmlWriter, DataContract contract, object obj)
256
protected void SerializeAndVerifyType(DataContract dataContract,
XmlWriterDelegator
xmlWriter, object obj, bool verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
286
internal virtual bool WriteClrTypeInfo(
XmlWriterDelegator
xmlWriter, DataContract dataContract)
291
internal virtual bool WriteClrTypeInfo(
XmlWriterDelegator
xmlWriter, string clrTypeName, string clrAssemblyName)
296
internal virtual bool WriteClrTypeInfo(
XmlWriterDelegator
xmlWriter, Type dataContractType, string clrTypeName, string clrAssemblyName)
304
internal virtual void WriteAnyType(
XmlWriterDelegator
xmlWriter, object value)
313
internal virtual void WriteString(
XmlWriterDelegator
xmlWriter, string value)
321
internal virtual void WriteString(
XmlWriterDelegator
xmlWriter, string value, XmlDictionaryString name, XmlDictionaryString ns)
337
internal virtual void WriteBase64(
XmlWriterDelegator
xmlWriter, byte[] value)
345
internal virtual void WriteBase64(
XmlWriterDelegator
xmlWriter, byte[] value, XmlDictionaryString name, XmlDictionaryString ns)
361
internal virtual void WriteUri(
XmlWriterDelegator
xmlWriter, Uri value)
369
internal virtual void WriteUri(
XmlWriterDelegator
xmlWriter, Uri value, XmlDictionaryString name, XmlDictionaryString ns)
385
internal virtual void WriteQName(
XmlWriterDelegator
xmlWriter, XmlQualifiedName value)
393
internal virtual void WriteQName(
XmlWriterDelegator
xmlWriter, XmlQualifiedName value, XmlDictionaryString name, XmlDictionaryString ns)
409
internal void HandleGraphAtTopLevel(
XmlWriterDelegator
writer, object obj, DataContract contract)
415
internal virtual bool OnHandleReference(
XmlWriterDelegator
xmlWriter, object obj, bool canContainCyclicReference)
428
internal virtual void OnEndHandleReference(
XmlWriterDelegator
xmlWriter, object obj, bool canContainCyclicReference)
441
internal void WriteNull(
XmlWriterDelegator
xmlWriter, Type memberType, bool isMemberTypeSerializable)
448
internal void WriteNull(
XmlWriterDelegator
xmlWriter, Type memberType, bool isMemberTypeSerializable, XmlDictionaryString name, XmlDictionaryString ns)
458
internal void IncrementArrayCount(
XmlWriterDelegator
xmlWriter, Array array)
467
internal void IncrementCollectionCount(
XmlWriterDelegator
xmlWriter, ICollection collection)
476
internal void IncrementCollectionCountGeneric<T>(
XmlWriterDelegator
xmlWriter, ICollection<T> collection)
482
private void IncrementCollectionCount(
XmlWriterDelegator
xmlWriter, int size)
488
internal virtual void WriteArraySize(
XmlWriterDelegator
xmlWriter, int size)
541
internal void WriteIXmlSerializable(
XmlWriterDelegator
xmlWriter, object obj)
548
internal static void WriteRootIXmlSerializable(
XmlWriterDelegator
xmlWriter, object obj)
553
private static void WriteIXmlSerializable(
XmlWriterDelegator
xmlWriter, object obj, XmlSerializableWriter xmlSerializableWriter)
579
protected virtual void WriteDataContractValue(DataContract dataContract,
XmlWriterDelegator
xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle)
584
protected virtual void WriteNull(
XmlWriterDelegator
xmlWriter)
589
private void WriteResolvedTypeInfo(
XmlWriterDelegator
writer, Type objectType, Type declaredType)
622
protected virtual bool WriteTypeInfo(
XmlWriterDelegator
writer, DataContract contract, DataContract declaredContract)
640
protected virtual void WriteTypeInfo(
XmlWriterDelegator
writer, string dataContractName, string dataContractNamespace)
645
protected virtual void WriteTypeInfo(
XmlWriterDelegator
writer, XmlDictionaryString dataContractName, XmlDictionaryString dataContractNamespace)
651
public void WriteExtensionData(
XmlWriterDelegator
xmlWriter, ExtensionDataObject extensionData, int memberIndex)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (16)
46
internal override bool WriteClrTypeInfo(
XmlWriterDelegator
xmlWriter, DataContract dataContract)
51
internal override bool WriteClrTypeInfo(
XmlWriterDelegator
xmlWriter, Type dataContractType, string clrTypeName, string clrAssemblyName)
59
internal override void WriteAnyType(
XmlWriterDelegator
xmlWriter, object value)
69
internal override void WriteString(
XmlWriterDelegator
xmlWriter, string value)
79
internal override void WriteString(
XmlWriterDelegator
xmlWriter, string value, XmlDictionaryString name, XmlDictionaryString ns)
96
internal override void WriteBase64(
XmlWriterDelegator
xmlWriter, byte[] value)
106
internal override void WriteBase64(
XmlWriterDelegator
xmlWriter, byte[] value, XmlDictionaryString name, XmlDictionaryString ns)
123
internal override void WriteUri(
XmlWriterDelegator
xmlWriter, Uri value)
133
internal override void WriteUri(
XmlWriterDelegator
xmlWriter, Uri value, XmlDictionaryString name, XmlDictionaryString ns)
150
internal override void WriteQName(
XmlWriterDelegator
xmlWriter, XmlQualifiedName value)
160
internal override void WriteQName(
XmlWriterDelegator
xmlWriter, XmlQualifiedName value, XmlDictionaryString name, XmlDictionaryString ns)
177
internal override void InternalSerialize(
XmlWriterDelegator
xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
189
internal override bool OnHandleReference(
XmlWriterDelegator
xmlWriter, object obj, bool canContainCyclicReference)
207
internal override void OnEndHandleReference(
XmlWriterDelegator
xmlWriter, object obj, bool canContainCyclicReference)
251
private void InternalSerializeWithSurrogate(
XmlWriterDelegator
xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
284
internal override void WriteArraySize(
XmlWriterDelegator
xmlWriter, int size)