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