10 references to ERR_InvalidInNamespace
Microsoft.CodeAnalysis.VisualBasic (7)
Errors\ErrorFacts.vb (1)
54ERRID.ERR_InvalidInNamespace,
Symbols\Source\SourceMemberContainerTypeSymbol.vb (6)
2541diagBag.Add(ERRID.ERR_InvalidInNamespace, fieldDecl.GetLocation()) 2556diagBag.Add(ERRID.ERR_InvalidInNamespace, methodDecl.GetLocation()) 2575diagBag.Add(ERRID.ERR_InvalidInNamespace, methodDecl.GetLocation()) 2587diagBag.Add(ERRID.ERR_InvalidInNamespace, propertyDecl.PropertyStatement.GetLocation()) 2596diagBag.Add(ERRID.ERR_InvalidInNamespace, propertyDecl.GetLocation()) 2623diagBag.Add(ERRID.ERR_InvalidInNamespace, memberSyntax.GetLocation())
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenScriptTests.vb (1)
146CreateCompilationWithMscorlib40(source).VerifyDiagnostics(Diagnostic(ERRID.ERR_InvalidInNamespace, "Sub Goo"))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Binding\GotoTests.vb (2)
151Diagnostic(ERRID.ERR_InvalidInNamespace, "const x = 1"), 152Diagnostic(ERRID.ERR_InvalidInNamespace, "const y = 2"))