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
421
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[0])) { goto Return; }
422
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[1])) { idx += 1; goto Return; }
423
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[2])) { idx += 2; goto Return; }
424
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[3])) { idx += 3; goto Return; }
425
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[4])) { idx += 4; goto Return; }
426
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[5])) { idx += 5; goto Return; }
427
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[6])) { idx += 6; goto Return; }
428
if (!_allowedBmpCodePoints.
IsCharAllowed
(data[7])) { idx += 7; goto Return; }
435
if (!_allowedBmpCodePoints.
IsCharAllowed
(c)) { goto Return; }
System\Text\Encodings\Web\TextEncoderSettings.cs (1)
206
if (_allowedCodePointsBitmap.
IsCharAllowed
((char)i))