Skip to main content

CSharpFactory.EventFieldDeclaration Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
EventFieldDeclaration(SyntaxTokenList, TypeSyntax, String)
EventFieldDeclaration(SyntaxTokenList, TypeSyntax, SyntaxToken)

EventFieldDeclaration(SyntaxTokenList, TypeSyntax, String)

public static Microsoft.CodeAnalysis.CSharp.Syntax.EventFieldDeclarationSyntax EventFieldDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, string identifier)

Parameters

modifiers SyntaxTokenList

type TypeSyntax

identifier String

Returns

EventFieldDeclarationSyntax

EventFieldDeclaration(SyntaxTokenList, TypeSyntax, SyntaxToken)

public static Microsoft.CodeAnalysis.CSharp.Syntax.EventFieldDeclarationSyntax EventFieldDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier)

Parameters

modifiers SyntaxTokenList

type TypeSyntax

identifier SyntaxToken

Returns

EventFieldDeclarationSyntax