2 writes to _mediaType
System.Net.Mail (2)
System\Net\Mime\ContentType.cs (2)
98
_mediaType
= MailBnfHelper.ReadToken(value, ref offset);
226
_mediaType
= MailBnfHelper.ReadToken(_type, ref offset);
5 references to _mediaType
System.Net.Mail (5)
System\Net\Mime\ContentType.cs (5)
92
get { return
_mediaType
+ "/" + _subType; }
99
if (
_mediaType
.Length == 0 || offset >= value.Length || value[offset++] != '/')
176
builder.Append(
_mediaType
); // Must not have unicode, already validated
218
[MemberNotNull(nameof(
_mediaType
))]
227
if (string.IsNullOrEmpty(
_mediaType
) || offset >= _type.Length || _type[offset++] != '/')