21 references to Length
System (21)
net\System\Net\mail\Base64Stream.cs (5)
137if (this.writeState != null && WriteState.Length > 0) 330return ASCIIEncoding.ASCII.GetString(this.WriteState.Buffer, 0, this.WriteState.Length); 352if (this.writeState != null && WriteState.Length > 0) 361base.Write(WriteState.Buffer, 0, WriteState.Length); 527IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.Buffer, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\EightBitStream.cs (2)
83result = base.BeginWrite(WriteState.Buffer, 0, WriteState.Length, callback, state); 119base.Write(WriteState.Buffer, 0, WriteState.Length);
net\System\Net\mail\QEncodedStream.cs (4)
292return ASCIIEncoding.ASCII.GetString(this.WriteState.Buffer, 0, this.WriteState.Length); 309if (this.writeState != null && this.writeState.Length > 0) 311base.Write(WriteState.Buffer, 0, WriteState.Length); 411IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.Buffer, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\QuotedPrintableStream.cs (9)
253if (WriteState.Buffer.Length - WriteState.Length < sizeOfSoftCRLF) 266if (WriteState.Buffer.Length - WriteState.Length < (encodeCRLF ? sizeOfEncodedCRLF : sizeOfNonEncodedCRLF)) 282if (WriteState.Buffer.Length - WriteState.Length < sizeOfSoftCRLF) 294if (WriteState.Buffer.Length - WriteState.Length < 1) 301if (WriteState.Buffer.Length - WriteState.Length < sizeOfEncodedChar) 326return ASCIIEncoding.ASCII.GetString(this.WriteState.Buffer, 0, this.WriteState.Length); 342if (this.writeState != null && this.writeState.Length > 0) 344base.Write(WriteState.Buffer, 0, WriteState.Length); 443IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.Buffer, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\WriteStateInfoBase.cs (1)
119bytes.CopyTo(this.buffer, this.Length);