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)
196if (_disposition == null || _isChanged || _parameters != null && _parameters.IsChanged) 203return _disposition; 260_dispositionType = MailBnfHelper.ReadToken(_disposition, ref offset); 279while (MailBnfHelper.SkipCFWS(_disposition, ref offset)) 282if (_disposition[offset++] != ';') 284throw new FormatException(SR.Format(SR.MailHeaderFieldInvalidCharacter, _disposition[offset - 1])); 288if (!MailBnfHelper.SkipCFWS(_disposition, ref offset)) 293string? paramAttribute = MailBnfHelper.ReadParameterAttribute(_disposition, ref offset); 297if (_disposition[offset++] != '=') 302if (!MailBnfHelper.SkipCFWS(_disposition, ref offset)) 309paramValue = _disposition[offset] == '"' ? 310MailBnfHelper.ReadQuotedString(_disposition, ref offset, null) : 311MailBnfHelper.ReadToken(_disposition, ref offset);