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