Skip to main content

IfStatementOrElseClause.Implicit Operator

Containing Type: IfStatementOrElseClause

Assembly: Roslynator.CSharp.dll

Overloads

OperatorSummary
Implicit(ElseClauseSyntax to IfStatementOrElseClause)
Implicit(IfStatementOrElseClause to ElseClauseSyntax)
Implicit(IfStatementOrElseClause to IfStatementSyntax)
Implicit(IfStatementSyntax to IfStatementOrElseClause)

Implicit(ElseClauseSyntax to IfStatementOrElseClause)

public static implicit operator Roslynator.CSharp.IfStatementOrElseClause(Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax elseClause)

Parameters

elseClause ElseClauseSyntax

Returns

IfStatementOrElseClause

Implicit(IfStatementOrElseClause to ElseClauseSyntax)

public static implicit operator Microsoft.CodeAnalysis.CSharp.Syntax.ElseClauseSyntax?(in Roslynator.CSharp.IfStatementOrElseClause ifOrElse)

Parameters

ifOrElse IfStatementOrElseClause

Returns

ElseClauseSyntax

Implicit(IfStatementOrElseClause to IfStatementSyntax)

public static implicit operator Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax?(in Roslynator.CSharp.IfStatementOrElseClause ifOrElse)

Parameters

ifOrElse IfStatementOrElseClause

Returns

IfStatementSyntax

Implicit(IfStatementSyntax to IfStatementOrElseClause)

public static implicit operator Roslynator.CSharp.IfStatementOrElseClause(Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax ifStatement)

Parameters

ifStatement IfStatementSyntax

Returns

IfStatementOrElseClause