FrameworkFork\System.Runtime.Serialization\System\Xml\ArrayHelper.cs (22)
62public void WriteArray(XmlDictionaryWriter writer, string prefix, TArgument localName, TArgument namespaceUri, XmlDictionaryReader reader)
80protected abstract void WriteArray(XmlDictionaryWriter writer, string prefix, TArgument localName, TArgument namespaceUri, TArray[] array, int offset, int count);
107protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, bool[] array, int offset, int count)
122protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count)
137protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, Int16[] array, int offset, int count)
152protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
167protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, Int32[] array, int offset, int count)
182protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count)
197protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, Int64[] array, int offset, int count)
212protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int64[] array, int offset, int count)
227protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, float[] array, int offset, int count)
242protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count)
257protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, double[] array, int offset, int count)
272protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count)
287protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count)
302protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count)
317protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count)
332protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count)
347protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, Guid[] array, int offset, int count)
362protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count)
377protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, TimeSpan[] array, int offset, int count)
392protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Addressing.cs (11)
84protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
125protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
197protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
280protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
424protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
485protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
501protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
585protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
685protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
801protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
882protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (56)
66internal void BodyToString(XmlDictionaryWriter writer)
264XmlDictionaryWriter writer = buffer.OpenSection(XmlDictionaryReaderQuotas.Max);
321protected virtual void OnBodyToString(XmlDictionaryWriter writer)
334XmlDictionaryWriter writer = msgBuffer.OpenSection(quotas);
348XmlDictionaryWriter writer = bodyBuffer.OpenSection(XmlDictionaryReaderQuotas.Max);
372protected virtual void OnWriteStartBody(XmlDictionaryWriter writer)
378public void WriteBodyContents(XmlDictionaryWriter writer)
384public Task WriteBodyContentsAsync(XmlDictionaryWriter writer)
390public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
401protected abstract void OnWriteBodyContents(XmlDictionaryWriter writer);
403protected virtual Task OnWriteBodyContentsAsync(XmlDictionaryWriter writer)
409protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
419public void WriteStartEnvelope(XmlDictionaryWriter writer)
427protected virtual void OnWriteStartEnvelope(XmlDictionaryWriter writer)
438protected virtual void OnWriteStartHeaders(XmlDictionaryWriter writer)
463using (XmlDictionaryWriter writer = XmlDictionaryWriter.CreateDictionaryWriter(textWriter))
480internal void ToString(XmlDictionaryWriter writer)
595WriteBody(XmlDictionaryWriter.CreateDictionaryWriter(writer));
598public void WriteBody(XmlDictionaryWriter writer)
607WriteStartBody(XmlDictionaryWriter.CreateDictionaryWriter(writer));
610public void WriteStartBody(XmlDictionaryWriter writer)
617internal void WriteStartHeaders(XmlDictionaryWriter writer)
624WriteMessage(XmlDictionaryWriter.CreateDictionaryWriter(writer));
627public void WriteMessage(XmlDictionaryWriter writer)
639public virtual async Task WriteMessageAsync(XmlDictionaryWriter writer)
645public virtual async Task OnWriteMessageAsync(XmlDictionaryWriter writer)
656private void EnsureWriteMessageState(XmlDictionaryWriter writer)
680public IAsyncResult BeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
692protected virtual void OnWriteMessage(XmlDictionaryWriter writer)
699internal void WriteMessagePreamble(XmlDictionaryWriter writer)
721internal void WriteMessagePostamble(XmlDictionaryWriter writer)
730protected virtual IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
740private void WriteSharedHeaderPrefixes(XmlDictionaryWriter writer)
783private XmlDictionaryWriter _writer;
785public OnWriteMessageAsyncResult(XmlDictionaryWriter writer, Message message, AsyncCallback callback, object state)
827protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
849protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
872protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
909protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
1059protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
1064protected override Task OnWriteBodyContentsAsync(XmlDictionaryWriter writer)
1069protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
1081protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
1091protected override void OnBodyToString(XmlDictionaryWriter writer)
1114private XmlDictionaryWriter _writer;
1116public OnWriteMessageAsyncResult(XmlDictionaryWriter writer, BodyWriterMessage message, AsyncCallback callback, object state)
1171protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
1312protected override void OnBodyToString(XmlDictionaryWriter writer)
1376protected override void OnWriteStartBody(XmlDictionaryWriter writer)
1382protected override void OnWriteStartEnvelope(XmlDictionaryWriter writer)
1389protected override void OnWriteStartHeaders(XmlDictionaryWriter writer)
1583protected override void OnBodyToString(XmlDictionaryWriter writer)
1665protected override void OnWriteStartEnvelope(XmlDictionaryWriter writer)
1676protected override void OnWriteStartHeaders(XmlDictionaryWriter writer)
1695protected override void OnWriteStartBody(XmlDictionaryWriter writer)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (14)
59using (XmlDictionaryWriter writer = XmlDictionaryWriter.CreateDictionaryWriter(textWriter))
91WriteHeader(XmlDictionaryWriter.CreateDictionaryWriter(writer), messageVersion);
94public void WriteHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
105public void WriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
114protected virtual void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
120public void WriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
129protected abstract void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion);
131protected void WriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
291protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
422protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
441protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
451protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
518XmlDictionaryWriter writer = buffer.OpenSection(reader.Quotas);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (5)
188protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
207private void SerializeParameters(XmlDictionaryWriter writer, PartInfo[] parts, object[] parameters)
217private void SerializeParameter(XmlDictionaryWriter writer, PartInfo part, object graph)
231private void SerializeParameterPart(XmlDictionaryWriter writer, PartInfo part, object graph)
481protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (16)
49protected abstract void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest);
50protected virtual Task SerializeBodyAsync(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
59protected virtual void WriteBodyAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
337private void SerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest)
353private async Task SerializeBodyContentsAsync(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest)
370private IAsyncResult BeginSerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest,
387internal SerializeBodyContentsAsyncResult(OperationFormatter operationFormatter, XmlDictionaryWriter writer, MessageVersion version, object[] parameters,
665protected override void OnWriteStartBody(XmlDictionaryWriter writer)
718protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
726protected override Task OnWriteBodyContentsAsync(XmlDictionaryWriter writer)
731protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
754internal OnWriteBodyContentsAsyncResult(OperationFormatterBodyWriter operationFormatterBodyWriter, XmlDictionaryWriter writer, AsyncCallback callback, object state)
856protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion)
863protected virtual void OnWriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
878protected override void OnWriteHeaderAttributes(XmlDictionaryWriter writer, MessageVersion messageVersion)
883protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (9)
50internal void Serialize(XmlDictionaryWriter writer, object[] parameters, object returnValue)
58private Stream GetStreamAndWriteStartWrapperIfNecessary(XmlDictionaryWriter writer, object[] parameters, object returnValue)
69private void WriteEndWrapperIfNecessary(XmlDictionaryWriter writer)
76private Task WriteEndWrapperIfNecessaryAsync(XmlDictionaryWriter writer)
84internal IAsyncResult BeginSerialize(XmlDictionaryWriter writer, object[] parameters, object returnValue, AsyncCallback callback, object state)
99private XmlDictionaryWriter _writer;
101internal SerializeAsyncResult(StreamFormatter streamFormatter, XmlDictionaryWriter writer, object[] parameters, object returnValue,
369public static void WriteValue(XmlDictionaryWriter writer, OperationStreamProvider value)
405public static async Task WriteValueAsync(XmlDictionaryWriter writer, OperationStreamProvider value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (8)
83XmlDictionaryWriter bufferWriter = XmlDictionaryWriter.CreateTextWriter(memoryStream);
171XmlDictionaryWriter bufferWriter = XmlDictionaryWriter.CreateTextWriter(memoryStream);
244private static void AddUnknownHeader(MessageHeaderDescription unknownHeaderDescription, ArrayList unknownHeaders, XmlDocument xmlDoc, XmlDictionaryWriter bufferWriter, MessageHeaderInfo header, XmlDictionaryReader headerReader)
255protected override void WriteBodyAttributes(XmlDictionaryWriter writer, MessageVersion version)
261protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
305private void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object returnValue, object[] parameters)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (6)
12internal static void AddNamespaceDeclaration(XmlDictionaryWriter writer, string prefix, XmlDictionaryString ns)
21internal static string EnsureNamespaceDefined(XmlDictionaryWriter writer, XmlDictionaryString ns, string defaultPrefix)
344static public void WriteAttributeStringAsUniqueId(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString ns, UniqueId id)
357static public void WriteElementStringAsUniqueId(XmlDictionaryWriter writer, XmlDictionaryString localName, XmlDictionaryString ns, UniqueId id)
364static public void WriteElementContentAsInt64(XmlDictionaryWriter writer, XmlDictionaryString localName, XmlDictionaryString ns, Int64 value)
379static public void WriteStringAsUniqueId(XmlDictionaryWriter writer, UniqueId id)