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)
162
if (
_type
== null || IsChanged)
169
return
_type
;
226
_mediaType = MailBnfHelper.ReadToken(
_type
, ref offset);
227
if (string.IsNullOrEmpty(_mediaType) || offset >=
_type
.Length ||
_type
[offset++] != '/')
232
_subType = MailBnfHelper.ReadToken(
_type
, ref offset);
238
while (MailBnfHelper.SkipCFWS(
_type
, ref offset))
240
if (
_type
[offset++] != ';')
245
if (!MailBnfHelper.SkipCFWS(
_type
, ref offset))
250
string? paramAttribute = MailBnfHelper.ReadParameterAttribute(
_type
, ref offset);
258
if (offset >=
_type
.Length ||
_type
[offset++] != '=')
263
if (!MailBnfHelper.SkipCFWS(
_type
, ref offset))
268
paramValue =
_type
[offset] == '"' ?
269
MailBnfHelper.ReadQuotedString(
_type
, ref offset, null) :
270
MailBnfHelper.ReadToken(
_type
, ref offset);