3 writes to type
System (3)
net\System\Net\mail\ContentType.cs (3)
64
type
= contentType;
173
type
= contentType;
196
type
= Encode(false); // Legacy wire-safe format
17 references to type
System (17)
net\System\Net\mail\ContentType.cs (17)
162
if (
type
== null) {
194
if (
type
== null || IsChanged)
201
return
type
;
263
mediaType = MailBnfHelper.ReadToken(
type
, ref offset, null);
264
if (mediaType == null || mediaType.Length == 0 || offset >=
type
.Length ||
type
[offset++] != '/'){
269
subType = MailBnfHelper.ReadToken(
type
, ref offset, null);
276
while (MailBnfHelper.SkipCFWS(
type
, ref offset))
278
if (
type
[offset++] != ';'){
283
if (!MailBnfHelper.SkipCFWS(
type
, ref offset))
286
string paramAttribute = MailBnfHelper.ReadParameterAttribute(
type
, ref offset, null);
294
if ( offset >=
type
.Length ||
type
[offset++] != '='){
299
if (!MailBnfHelper.SkipCFWS(
type
, ref offset)){
304
if (
type
[offset] == '"')
305
paramValue = MailBnfHelper.ReadQuotedString(
type
, ref offset, null);
307
paramValue = MailBnfHelper.ReadToken(
type
, ref offset, null);