Skip to main content

CSharpFacts.CanBeEmbeddedStatement(SyntaxKind) Method

Containing Type: CSharpFacts

Assembly: Roslynator.CSharp.dll

Returns true if a syntax of the specified kind can be an embedded statement.

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

Parameters

kind SyntaxKind

Returns

Boolean