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