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