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