6 references to IsToken
System.Net.Http (6)
System\Net\Http\Headers\HeaderDescriptor.cs (1)
70if (!HttpRuleParser.IsToken(headerName))
System\Net\Http\Headers\HeaderUtilities.cs (1)
147if (!HttpRuleParser.IsToken(value))
System\Net\Http\Headers\KnownHeader.cs (2)
15Debug.Assert(name[0] == ':' || HttpRuleParser.IsToken(name)); 21Debug.Assert(name[0] == ':' || HttpRuleParser.IsToken(name));
System\Net\Http\HttpMethod.cs (1)
32if (!HttpRuleParser.IsToken(method))
System\Net\Http\HttpRuleParser.cs (1)
163if ((allowToken && IsToken(slice)) || IsValidHostName(slice))