CSharpFactory.NamespaceDeclaration Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
NamespaceDeclaration(NameSyntax, MemberDeclarationSyntax) | |
NamespaceDeclaration(NameSyntax, SyntaxList<MemberDeclarationSyntax>) |
NamespaceDeclaration(NameSyntax, MemberDeclarationSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax NamespaceDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax member)
Parameters
name NameSyntax
member MemberDeclarationSyntax
Returns
NamespaceDeclaration(NameSyntax, SyntaxList<MemberDeclarationSyntax>)
public static Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax NamespaceDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members)
Parameters
name NameSyntax
members SyntaxList<MemberDeclarationSyntax>