15 references to GetWhitespaceLength
Microsoft.AspNetCore.Mvc.Core (15)
Formatters\AcceptHeaderParser.cs (3)
128var current = startIndex + HttpRuleParser.GetWhitespaceLength(input, startIndex); 139current = current + HttpRuleParser.GetWhitespaceLength(input, current); 144current = current + HttpRuleParser.GetWhitespaceLength(input, current);
Formatters\MediaType.cs (4)
383current += HttpRuleParser.GetWhitespaceLength(input, current); 395current += HttpRuleParser.GetWhitespaceLength(input, current); 405current += HttpRuleParser.GetWhitespaceLength(input, current); 429current += HttpRuleParser.GetWhitespaceLength(input, current);
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (8)
97var current = offset + HttpRuleParser.GetWhitespaceLength(input, offset); 110current += HttpRuleParser.GetWhitespaceLength(input, current); 127current += HttpRuleParser.GetWhitespaceLength(input, current); 139current += HttpRuleParser.GetWhitespaceLength(input, current); 535current += HttpRuleParser.GetWhitespaceLength(input, current); 547current += HttpRuleParser.GetWhitespaceLength(input, current); 557current += HttpRuleParser.GetWhitespaceLength(input, current); 581current += HttpRuleParser.GetWhitespaceLength(input, current);