3 writes to _type
System.Net.Mail (3)
System\Net\Mime\ContentType.cs (3)
51_type = contentType; 143_type = contentType; 164_type = Encode(false); // Legacy wire-safe format
16 references to _type
System.Net.Mail (16)
System\Net\Mime\ContentType.cs (16)
162if (_type == null || IsChanged) 169return _type; 226_mediaType = MailBnfHelper.ReadToken(_type, ref offset); 227if (string.IsNullOrEmpty(_mediaType) || offset >= _type.Length || _type[offset++] != '/') 232_subType = MailBnfHelper.ReadToken(_type, ref offset); 238while (MailBnfHelper.SkipCFWS(_type, ref offset)) 240if (_type[offset++] != ';') 245if (!MailBnfHelper.SkipCFWS(_type, ref offset)) 250string? paramAttribute = MailBnfHelper.ReadParameterAttribute(_type, ref offset); 258if (offset >= _type.Length || _type[offset++] != '=') 263if (!MailBnfHelper.SkipCFWS(_type, ref offset)) 268paramValue = _type[offset] == '"' ? 269MailBnfHelper.ReadQuotedString(_type, ref offset, null) : 270MailBnfHelper.ReadToken(_type, ref offset);