2 writes to stream
System.Xml (2)
System\Xml\Core\XmlEncodedRawTextWriter.cs (2)
157
this.
stream
= stream;
681
stream
= null;
20 references to stream
System.Xml (20)
System\Xml\Core\XmlEncodedRawTextWriter.cs (12)
185
this.
stream
.Write( bom, 0, bom.Length );
670
if (
stream
!= null ) {
672
stream
.Flush();
677
stream
.Close();
710
if (
stream
!= null ) {
711
stream
.Flush();
728
Debug.Assert(
stream
!= null || writer != null );
730
if (
stream
!= null ) {
787
stream
.Write( bufBytes, 0, bufBytesUsed );
792
stream
.Write( bufBytes, 0, bufBytesUsed );
799
if (
stream
!= null ) {
806
stream
.Write( bufBytes, 0, bEnc );
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (8)
482
if (
stream
!= null ) {
483
await
stream
.FlushAsync().ConfigureAwait(false);
500
Debug.Assert(
stream
!= null || writer != null );
502
if (
stream
!= null ) {
559
await
stream
.WriteAsync( bufBytes, 0, bufBytesUsed ).ConfigureAwait(false);
564
await
stream
.WriteAsync( bufBytes, 0, bufBytesUsed ).ConfigureAwait(false);
571
if (
stream
!= null ) {
578
return
stream
.WriteAsync( bufBytes, 0, bEnc );