13 references to IsCharAllowed
System.Text.Encodings.Web (13)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.Ascii.cs (2)
63
if (allowedBmpCodePoints.
IsCharAllowed
((char)i))
97
if (!Rune.IsControl(rune) && allowedCodePointsBmp.
IsCharAllowed
((char)i))
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (10)
403
if (!_allowedBmpCodePoints.
IsCharAllowed
((char)scalarValue.Value)) { break; } // disallowed code point
444
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
445
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
446
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
447
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
448
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
449
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
450
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
451
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx + (nuint)(++loopIter)])) { goto BrokeInUnrolledLoop; }
456
if (!_allowedBmpCodePoints.
IsCharAllowed
(pData[idx])) { break; }
System\Text\Encodings\Web\TextEncoderSettings.cs (1)
206
if (_allowedCodePointsBitmap.
IsCharAllowed
((char)i))