4 writes to _disposition
System.Net.Mail (4)
System\Net\Mime\ContentDisposition.cs (4)
53
_disposition
= _dispositionType = "attachment";
62
_disposition
= disposition;
177
_disposition
= contentDisposition;
198
_disposition
= Encode(false); // Legacy wire-safe format
13 references to _disposition
System.Net.Mail (13)
System\Net\Mime\ContentDisposition.cs (13)
196
if (
_disposition
== null || _isChanged || _parameters != null && _parameters.IsChanged)
203
return
_disposition
;
260
_dispositionType = MailBnfHelper.ReadToken(
_disposition
, ref offset);
279
while (MailBnfHelper.SkipCFWS(
_disposition
, ref offset))
282
if (
_disposition
[offset++] != ';')
284
throw new FormatException(SR.Format(SR.MailHeaderFieldInvalidCharacter,
_disposition
[offset - 1]));
288
if (!MailBnfHelper.SkipCFWS(
_disposition
, ref offset))
293
string? paramAttribute = MailBnfHelper.ReadParameterAttribute(
_disposition
, ref offset);
297
if (
_disposition
[offset++] != '=')
302
if (!MailBnfHelper.SkipCFWS(
_disposition
, ref offset))
309
paramValue =
_disposition
[offset] == '"' ?
310
MailBnfHelper.ReadQuotedString(
_disposition
, ref offset, null) :
311
MailBnfHelper.ReadToken(
_disposition
, ref offset);