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; 225_mediaType = MailBnfHelper.ReadToken(_type, ref offset); 226if (string.IsNullOrEmpty(_mediaType) || offset >= _type.Length || _type[offset++] != '/') 231_subType = MailBnfHelper.ReadToken(_type, ref offset); 237while (MailBnfHelper.SkipCFWS(_type, ref offset)) 239if (_type[offset++] != ';') 244if (!MailBnfHelper.SkipCFWS(_type, ref offset)) 249string? paramAttribute = MailBnfHelper.ReadParameterAttribute(_type, ref offset); 257if (offset >= _type.Length || _type[offset++] != '=') 262if (!MailBnfHelper.SkipCFWS(_type, ref offset)) 267paramValue = _type[offset] == '"' ? 268MailBnfHelper.ReadQuotedString(_type, ref offset, null) : 269MailBnfHelper.ReadToken(_type, ref offset);