13 references to IsCharAllowed
System.Text.Encodings.Web (13)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.Ascii.cs (1)
47if (!Rune.IsControl(rune) && allowedCodePointsBmp.IsCharAllowed((char)i))
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (11)
79if (_allowedBmpCodePoints.IsCharAllowed((char)i)) 388if (!_allowedBmpCodePoints.IsCharAllowed((char)scalarValue.Value)) { break; } // disallowed code point 429if (!_allowedBmpCodePoints.IsCharAllowed(remaining[0])) { goto Return; } 430if (!_allowedBmpCodePoints.IsCharAllowed(remaining[1])) { idx += 1; goto Return; } 431if (!_allowedBmpCodePoints.IsCharAllowed(remaining[2])) { idx += 2; goto Return; } 432if (!_allowedBmpCodePoints.IsCharAllowed(remaining[3])) { idx += 3; goto Return; } 433if (!_allowedBmpCodePoints.IsCharAllowed(remaining[4])) { idx += 4; goto Return; } 434if (!_allowedBmpCodePoints.IsCharAllowed(remaining[5])) { idx += 5; goto Return; } 435if (!_allowedBmpCodePoints.IsCharAllowed(remaining[6])) { idx += 6; goto Return; } 436if (!_allowedBmpCodePoints.IsCharAllowed(remaining[7])) { idx += 7; goto Return; } 443if (!_allowedBmpCodePoints.IsCharAllowed(c)) { goto Return; }
System\Text\Encodings\Web\TextEncoderSettings.cs (1)
206if (_allowedCodePointsBitmap.IsCharAllowed((char)i))