6 references to FileScopedNamespaceDeclaration
Microsoft.CodeAnalysis.CSharp (3)
Syntax.xml.Main.Generated.cs (2)
4851
=> SyntaxFactory.
FileScopedNamespaceDeclaration
(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.NamespaceKeyword), name, SyntaxFactory.Token(SyntaxKind.SemicolonToken), externs, usings, members);
4855
=> SyntaxFactory.
FileScopedNamespaceDeclaration
(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.NamespaceKeyword), name, SyntaxFactory.Token(SyntaxKind.SemicolonToken), default, default, default);
Syntax.xml.Syntax.Generated.cs (1)
9722
var newNode = SyntaxFactory.
FileScopedNamespaceDeclaration
(attributeLists, modifiers, namespaceKeyword, name, semicolonToken, externs, usings, members);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
335
var fileScopedNamespace =
FileScopedNamespaceDeclaration
(
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
335
var fileScopedNamespace =
FileScopedNamespaceDeclaration
(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.cs (1)
10826
=> SyntaxFactory.
FileScopedNamespaceDeclaration
(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.NamespaceKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.SemicolonToken), new SyntaxList<ExternAliasDirectiveSyntax>(), new SyntaxList<UsingDirectiveSyntax>(), new SyntaxList<MemberDeclarationSyntax>());