Skip to main content

CSharpFacts.IsAnonymousFunctionExpression(SyntaxKind) Method

Containing Type: CSharpFacts

Assembly: Roslynator.CSharp.dll

Returns true if a syntax of the specified kind is an anonymous method or lambda expression.

public static bool IsAnonymousFunctionExpression(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)

Parameters

kind SyntaxKind

Returns

Boolean