2 writes to stream
System.ServiceModel (2)
System\ServiceModel\XmlBuffer.cs (2)
64
stream
= new BufferManagerOutputStream(SR.XmlBufferQuotaExceeded, initialBufferSize, maxBufferSize,
120
stream
= null;
4 references to stream
System.ServiceModel (4)
System\ServiceModel\XmlBuffer.cs (4)
92
this.writer = XmlDictionaryWriter.CreateBinaryWriter(
stream
, XD.Dictionary, null, true);
96
((IXmlBinaryWriterInitializer)this.writer).SetOutput(
stream
, XD.Dictionary, null, true);
107
int size = (int)
stream
.Length - offset;
118
buffer =
stream
.ToArray(out bufferSize);