4 writes to _disposition
System.Net.Mail (4)
System\Net\Mime\ContentDisposition.cs (4)
53_disposition = _dispositionType = "attachment"; 62_disposition = disposition; 184_disposition = contentDisposition; 205_disposition = Encode(false); // Legacy wire-safe format
13 references to _disposition
System.Net.Mail (13)
System\Net\Mime\ContentDisposition.cs (13)
203if (_disposition == null || _isChanged || _parameters != null && _parameters.IsChanged) 210return _disposition; 266_dispositionType = MailBnfHelper.ReadToken(_disposition, ref offset); 285while (MailBnfHelper.SkipCFWS(_disposition, ref offset)) 288if (_disposition[offset++] != ';') 290throw new FormatException(SR.Format(SR.MailHeaderFieldInvalidCharacter, _disposition[offset - 1])); 294if (!MailBnfHelper.SkipCFWS(_disposition, ref offset)) 299string? paramAttribute = MailBnfHelper.ReadParameterAttribute(_disposition, ref offset); 303if (_disposition[offset++] != '=') 308if (!MailBnfHelper.SkipCFWS(_disposition, ref offset)) 315paramValue = _disposition[offset] == '"' ? 316MailBnfHelper.ReadQuotedString(_disposition, ref offset, null) : 317MailBnfHelper.ReadToken(_disposition, ref offset);