4 writes to disposition
System (4)
net\System\Net\mail\ContentDisposition.cs (4)
70
disposition
= dispositionType;
83
this.
disposition
= disposition;
250
disposition
= contentDisposition;
277
disposition
= Encode(false); // Legacy wire-safe format
13 references to disposition
System (13)
net\System\Net\mail\ContentDisposition.cs (13)
275
if (
disposition
== null || isChanged || parameters != null && parameters.IsChanged)
282
return
disposition
;
341
dispositionType = MailBnfHelper.ReadToken(
disposition
, ref offset, null);
360
while (MailBnfHelper.SkipCFWS(
disposition
, ref offset))
363
if (
disposition
[offset++] != ';')
364
throw new FormatException(SR.GetString(SR.MailHeaderFieldInvalidCharacter,
disposition
[offset-1]));
367
if (!MailBnfHelper.SkipCFWS(
disposition
, ref offset))
370
string paramAttribute = MailBnfHelper.ReadParameterAttribute(
disposition
, ref offset, null);
374
if (
disposition
[offset++] != '=')
379
if (!MailBnfHelper.SkipCFWS(
disposition
, ref offset))
386
if (
disposition
[offset] == '"')
388
paramValue = MailBnfHelper.ReadQuotedString(
disposition
, ref offset, null);
392
paramValue = MailBnfHelper.ReadToken(
disposition
, ref offset, null);