24 references to ERR_InvalidUseOfKeyword
Microsoft.CodeAnalysis.VisualBasic (5)
Errors\ErrorFacts.vb (1)
161ERRID.ERR_InvalidUseOfKeyword,
Parser\ParseQuery.vb (1)
93curIdent = ReportSyntaxError(curIdent, ERRID.ERR_InvalidUseOfKeyword)
Parser\Parser.vb (1)
1401statement = ReportUnrecognizedStatementError(ERRID.ERR_InvalidUseOfKeyword, attributes, modifiers, forceErrorOnFirstToken:=True)
Parser\ParseTerminal.vb (2)
44identifier = ReportSyntaxError(identifier, ERRID.ERR_InvalidUseOfKeyword) 57identifier = ReportSyntaxError(identifier, ERRID.ERR_InvalidUseOfKeyword)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
2653Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Lib"),
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (10)
StaticLocalDeclarationTests.vb (2)
507compilation.VerifyDiagnostics(Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "as"), 535compilation.VerifyDiagnostics(Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Static"))
SymbolsTests\Source\MeMyBaseMyClassTests.vb (8)
36Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Me"), 37Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Me"), 38Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Me"), 39Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Me")) 686Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "MyBase"), 687Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "MyBase")) 719Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "MyBase"), 720Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "mybase"))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (8)
Parser\ParseAttributes.vb (1)
73Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Dim"),
Parser\ParseStatements.vb (7)
2312Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "In"), 3941Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Namespace").WithLocation(19, 33), 3942Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Class").WithLocation(20, 33), 3943Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "End").WithLocation(21, 23), 3944Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Namespace").WithLocation(25, 25), 3945Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "Class").WithLocation(26, 25), 3946Diagnostic(ERRID.ERR_InvalidUseOfKeyword, "End").WithLocation(27, 27),