26 references to PeekNextChar
Microsoft.CodeAnalysis (26)
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (26)
101
if (segment == "Item" &&
PeekNextChar
() == '[')
129
if (_scope != TargetScope.Namespace &&
PeekNextChar
() == '`')
136
var nextChar =
PeekNextChar
();
184
if (
PeekNextChar
() == ':')
247
if (
PeekNextChar
() == '#')
253
if (
PeekNextChar
() == '[')
269
int delimiterOffset =
PeekNextChar
() == '.' ?
308
Debug.Assert(
PeekNextChar
() is '(' or '[');
311
var nextChar =
PeekNextChar
();
334
if (
PeekNextChar
() == ',')
344
nextChar =
PeekNextChar
();
368
var isRefOrOut =
PeekNextChar
() == '&';
383
if (
PeekNextChar
() == '!')
414
var nextChar =
PeekNextChar
();
454
if (
PeekNextChar
() == '{')
465
switch (
PeekNextChar
())
495
Debug.Assert(
PeekNextChar
() == '!');
498
if (
PeekNextChar
() == '!')
593
if (
PeekNextChar
() == '`')
600
if (
PeekNextChar
() == '<')
614
var nextChar =
PeekNextChar
();
657
Debug.Assert(
PeekNextChar
() == '<');
673
if (
PeekNextChar
() == ',')
683
if (
PeekNextChar
() == '>')
698
Debug.Assert(
PeekNextChar
() == '[');
704
var nextChar =
PeekNextChar
();