8 references to ERR_FileScopedNamespaceNotBeforeAllMembers
Microsoft.CodeAnalysis.CSharp (2)
Declarations\DeclarationTreeBuilder.cs (1)
563diagnostics.Add(ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers, node.Name.GetLocation());
Errors\ErrorFacts.cs (1)
2209or ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
169Diagnostic(ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers, "N.").WithLocation(13, 11),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\AssemblyAndNamespaceTests.cs (3)
545Diagnostic(ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers, "B").WithLocation(4, 11)); 584Diagnostic(ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers, "System").WithLocation(2, 11)); 608Diagnostic(ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers, "B").WithLocation(3, 11));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\FileModifierParsingTests.cs (2)
2224Diagnostic(ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers, "NS").WithLocation(1, 16) 2289Diagnostic(ErrorCode.ERR_FileScopedNamespaceNotBeforeAllMembers, "NS").WithLocation(1, 16)