CSharpFactory.ClassDeclaration Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
ClassDeclaration(SyntaxTokenList, String, SyntaxList<MemberDeclarationSyntax>) | |
ClassDeclaration(SyntaxTokenList, SyntaxToken, SyntaxList<MemberDeclarationSyntax>) |
ClassDeclaration(SyntaxTokenList, String, SyntaxList<MemberDeclarationSyntax>)
public static Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax ClassDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, string identifier, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members = default)
Parameters
modifiers SyntaxTokenList
identifier String
members SyntaxList<MemberDeclarationSyntax>
Returns
ClassDeclaration(SyntaxTokenList, SyntaxToken, SyntaxList<MemberDeclarationSyntax>)
public static Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax ClassDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members = default)
Parameters
modifiers SyntaxTokenList
identifier SyntaxToken
members SyntaxList<MemberDeclarationSyntax>