Skip to main content

SyntaxInfo.SingleParameterLambdaExpressionInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
SingleParameterLambdaExpressionInfo(LambdaExpressionSyntax, Boolean)Creates a new SingleParameterLambdaExpressionInfo from the specified lambda expression.
SingleParameterLambdaExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new SingleParameterLambdaExpressionInfo from the specified node.

SingleParameterLambdaExpressionInfo(LambdaExpressionSyntax, Boolean)

Creates a new SingleParameterLambdaExpressionInfo from the specified lambda expression.

public static Roslynator.CSharp.Syntax.SingleParameterLambdaExpressionInfo SingleParameterLambdaExpressionInfo(Microsoft.CodeAnalysis.CSharp.Syntax.LambdaExpressionSyntax lambdaExpression, bool allowMissing = false)

Parameters

lambdaExpression LambdaExpressionSyntax

allowMissing Boolean

Returns

SingleParameterLambdaExpressionInfo

SingleParameterLambdaExpressionInfo(SyntaxNode, Boolean, Boolean)

Creates a new SingleParameterLambdaExpressionInfo from the specified node.

public static Roslynator.CSharp.Syntax.SingleParameterLambdaExpressionInfo SingleParameterLambdaExpressionInfo(Microsoft.CodeAnalysis.SyntaxNode node, bool walkDownParentheses = true, bool allowMissing = false)

Parameters

node SyntaxNode

walkDownParentheses Boolean

allowMissing Boolean

Returns

SingleParameterLambdaExpressionInfo