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