Skip to main content

CSharpFactory.ImplicitConversionOperatorDeclaration Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
ImplicitConversionOperatorDeclaration(SyntaxTokenList, TypeSyntax, ParameterListSyntax, ArrowExpressionClauseSyntax)
ImplicitConversionOperatorDeclaration(SyntaxTokenList, TypeSyntax, ParameterListSyntax, BlockSyntax)

ImplicitConversionOperatorDeclaration(SyntaxTokenList, TypeSyntax, ParameterListSyntax, ArrowExpressionClauseSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.ConversionOperatorDeclarationSyntax ImplicitConversionOperatorDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.ArrowExpressionClauseSyntax expressionBody)

Parameters

modifiers SyntaxTokenList

type TypeSyntax

parameterList ParameterListSyntax

expressionBody ArrowExpressionClauseSyntax

Returns

ConversionOperatorDeclarationSyntax

ImplicitConversionOperatorDeclaration(SyntaxTokenList, TypeSyntax, ParameterListSyntax, BlockSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.ConversionOperatorDeclarationSyntax ImplicitConversionOperatorDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax body)

Parameters

modifiers SyntaxTokenList

type TypeSyntax

parameterList ParameterListSyntax

body BlockSyntax

Returns

ConversionOperatorDeclarationSyntax