7 writes to bufBytesUsed
System.Xml (7)
System\Xml\Core\XmlEncodedRawTextWriter.cs (4)
167bufBytesUsed = 0; 785bufBytesUsed += bEnc; 788bufBytesUsed = 0; 793bufBytesUsed = 0;
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (3)
557bufBytesUsed += bEnc; 560bufBytesUsed = 0; 565bufBytesUsed = 0;
12 references to bufBytesUsed
System.Xml (12)
System\Xml\Core\XmlEncodedRawTextWriter.cs (6)
783encoder.Convert( bufChars, startOffset, endOffset - startOffset, bufBytes, bufBytesUsed, bufBytes.Length - bufBytesUsed, false, out chEnc, out bEnc, out completed ); 786if ( bufBytesUsed >= ( bufBytes.Length - 16 ) ) { 787stream.Write( bufBytes, 0, bufBytesUsed ); 791if ( writeAllToStream && bufBytesUsed > 0 ) { 792stream.Write( bufBytes, 0, bufBytesUsed );
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (6)
555encoder.Convert( bufChars, startOffset, endOffset - startOffset, bufBytes, bufBytesUsed, bufBytes.Length - bufBytesUsed, false, out chEnc, out bEnc, out completed ); 558if ( bufBytesUsed >= ( bufBytes.Length - 16 ) ) { 559await stream.WriteAsync( bufBytes, 0, bufBytesUsed ).ConfigureAwait(false); 563if ( writeAllToStream && bufBytesUsed > 0 ) { 564await stream.WriteAsync( bufBytes, 0, bufBytesUsed ).ConfigureAwait(false);