50 references to Peek
Microsoft.CodeAnalysis.VisualBasic (50)
Scanner\Directives.vb (1)
29
If CanGet() AndAlso IsWhitespace(
Peek
()) Then
Scanner\Scanner.vb (30)
241
Dim c =
Peek
()
275
Dim c As Char =
Peek
()
285
Debug.Assert(IsWhitespace(
Peek
()))
331
Dim c As Char =
Peek
()
585
ch =
Peek
()
629
Dim ch =
Peek
()
679
Dim ch =
Peek
()
718
Dim ch =
Peek
()
749
Dim startCh =
Peek
()
768
Dim ch =
Peek
()
790
While CanGet() AndAlso SyntaxFacts.IsNewLine(
Peek
())
804
Dim ch =
Peek
()
874
Dim c As Char =
Peek
()
906
If CanGet() AndAlso IsWhitespace(
Peek
()) Then
978
Dim ch As Char =
Peek
()
1062
Debug.Assert(IsWhitespace(
Peek
()))
1067
While CanGet() AndAlso IsWhitespace(
Peek
)
1131
Debug.Assert(IsColonAndNotColonEquals(
Peek
(), offset:=0))
1347
Return ScanTokenCommon(precedingTrivia,
Peek
(), False)
1381
Debug.Assert(
Peek
() = ">"c OrElse
Peek
() = FULLWIDTH_GREATER_THAN_SIGN)
1408
Debug.Assert(
Peek
() = "<"c OrElse
Peek
() = FULLWIDTH_LESS_THAN_SIGN)
1503
Debug.Assert(IsIdentifierStartCharacter(
Peek
))
1506
Dim ch =
Peek
()
1621
Debug.Assert(
Peek
() = "["c OrElse
Peek
() = FULLWIDTH_LEFT_SQUARE_BRACKET)
1710
Dim ch =
Peek
()
2199
Debug.Assert(IsHash(
Peek
()))
2516
Debug.Assert(IsDoubleQuote(
Peek
))
Scanner\ScannerBuffer.vb (1)
141
Return Intern(
Peek
())
Scanner\ScannerXml.vb (7)
74
Dim c As Char =
Peek
()
218
Dim c As Char =
Peek
()
242
c =
Peek
()
341
precedingTrivia = ScanXmlTrivia(
Peek
)
655
Dim c =
Peek
()
725
Dim c As Char =
Peek
()
1135
Debug.Assert(
Peek
() = "&"c)
Scanner\TokenFactories.vb (1)
454
Debug.Assert(
Peek
() = If(charIsFullWidth, FULLWIDTH_COLON, ":"c))
Scanner\XmlDocComments.vb (3)
48
If CanGet() AndAlso IsWhitespace(
Peek
()) Then
370
Dim c =
Peek
()
466
Dim c As Char =
Peek
()
Scanner\XmlTokenFactories.vb (7)
116
Debug.Assert(
Peek
() = spelling)
132
Debug.Assert(
Peek
() = spelling)
324
Debug.Assert(
Peek
() = "%"c OrElse
Peek
() = FULLWIDTH_PERCENT_SIGN)
328
If
Peek
() = "%"c Then
353
Debug.Assert(
Peek
() = "["c)
358
Debug.Assert(
Peek
() = "]"c)