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