28 references to ERR_ExpectedDeclaration
Microsoft.CodeAnalysis.VisualBasic (4)
Errors\ErrorFacts.vb (1)
164ERRID.ERR_ExpectedDeclaration,
Parser\BlockContexts\DeclarationContext.vb (1)
147node = Parser.ReportSyntaxError(node, ERRID.ERR_ExpectedDeclaration)
Parser\Parser.vb (2)
798Return ReportUnrecognizedStatementError(ERRID.ERR_ExpectedDeclaration) 848Return ParseSpecifierDeclaration().AddLeadingSyntax(idf, ERRID.ERR_ExpectedDeclaration)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
ErrorHandling.vb (1)
392Diagnostic(ERRID.ERR_ExpectedDeclaration, "sing"),
PDB\PDBExternalSourceDirectiveTests.vb (2)
629Diagnostic(ERRID.ERR_ExpectedDeclaration, "boo")) 657Diagnostic(ERRID.ERR_ExpectedDeclaration, "boo"))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Binding\BindingErrorTests.vb (2)
23578Diagnostic(ERRID.ERR_ExpectedDeclaration, "sharSub"), 23579Diagnostic(ERRID.ERR_ExpectedDeclaration, "lists"),
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (6)
SymbolsTests\Metadata\WinMdEventTest.vb (6)
1156Diagnostic(ERRID.ERR_ExpectedDeclaration, "AddHandler(value As System.Action)"), 1159Diagnostic(ERRID.ERR_ExpectedDeclaration, "RemoveHandler(value As System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken)"), 1161Diagnostic(ERRID.ERR_ExpectedDeclaration, "RaiseEvent()"), 1209Diagnostic(ERRID.ERR_ExpectedDeclaration, "AddHandler(value As System.Action)"), 1212Diagnostic(ERRID.ERR_ExpectedDeclaration, "RemoveHandler(value As System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken)"), 1214Diagnostic(ERRID.ERR_ExpectedDeclaration, "RaiseEvent()"),
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (13)
Parser\ParseAttributes.vb (1)
176Diagnostic(ERRID.ERR_ExpectedDeclaration, "IMammals"))
Parser\ParseDeclarationTests.vb (5)
564Diagnostic(ERRID.ERR_ExpectedDeclaration, "Attribute"), 566Diagnostic(ERRID.ERR_ExpectedDeclaration, "Attribute"), 568Diagnostic(ERRID.ERR_ExpectedDeclaration, "Attribute"), 570Diagnostic(ERRID.ERR_ExpectedDeclaration, "Attribute"), 572Diagnostic(ERRID.ERR_ExpectedDeclaration, "Attribute"),
Parser\ParseErrorTests.vb (3)
543Diagnostic(ERRID.ERR_ExpectedDeclaration, "Global")) 1357Diagnostic(ERRID.ERR_ExpectedDeclaration, "Unicode")) 4518Diagnostic(ERRID.ERR_ExpectedDeclaration, "deflng"),
Parser\ParseStatements.vb (2)
3421Diagnostic(ERRID.ERR_ExpectedDeclaration, "Get"), 3423Diagnostic(ERRID.ERR_ExpectedDeclaration, "Set"),
Parser\ParseXml.vb (2)
4533Diagnostic(ERRID.ERR_ExpectedDeclaration, "Distinct")) 4562Diagnostic(ERRID.ERR_ExpectedDeclaration, "Distinct"))