2 writes to stream
System.IdentityModel (2)
System\IdentityModel\XmlBuffer.cs (2)
63
stream
= new BufferManagerOutputStream(SR.XmlBufferQuotaExceeded, initialBufferSize, maxBufferSize,
119
stream
= null;
4 references to stream
System.IdentityModel (4)
System\IdentityModel\XmlBuffer.cs (4)
91
this.writer = XmlDictionaryWriter.CreateBinaryWriter(
stream
, XD.Dictionary, null, true);
95
((IXmlBinaryWriterInitializer)this.writer).SetOutput(
stream
, XD.Dictionary, null, true);
106
int size = (int)
stream
.Length - offset;
117
buffer =
stream
.ToArray(out bufferSize);