CSharpFactory.EnumMemberDeclaration Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
EnumMemberDeclaration(String, EqualsValueClauseSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax EnumMemberDeclaration(string name, Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax value)
Parameters
name String
value EqualsValueClauseSyntax
Returns
EnumMemberDeclaration(String, ExpressionSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax EnumMemberDeclaration(string name, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax value)
Parameters
name String
value ExpressionSyntax
Returns
EnumMemberDeclaration(SyntaxToken, EqualsValueClauseSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax EnumMemberDeclaration(Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax value)
Parameters
identifier SyntaxToken
value EqualsValueClauseSyntax
Returns
EnumMemberDeclaration(SyntaxToken, ExpressionSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.EnumMemberDeclarationSyntax EnumMemberDeclaration(Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax value)
Parameters
identifier SyntaxToken
value ExpressionSyntax