3 references to AddLeadingSyntax
Microsoft.CodeAnalysis.VisualBasic (3)
Parser\ParseConditional.vb (1)
217endKeyword = endKeyword.AddLeadingSyntax(endIfKeyword, ERRID.ERR_ObsoleteEndIf)
Parser\Parser.vb (1)
848Return ParseSpecifierDeclaration().AddLeadingSyntax(idf, ERRID.ERR_ExpectedDeclaration)
Parser\ParseTerminal.vb (1)
66identifier = identifier.AddLeadingSyntax(CurrentToken, ERRID.ERR_ExpectedIdentifier)