CSharpFacts.CanHaveExpressionBody(SyntaxKind) Method
Containing Type: CSharpFacts
Assembly: Roslynator.CSharp.dll
Returns true if a syntax of the specified kind can have expression body.
public static bool CanHaveExpressionBody(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)
Parameters
kind SyntaxKind