Skip to main content

CSharpFacts.IsCompoundAssignmentExpression(SyntaxKind) Method

Containing Type: CSharpFacts

Assembly: Roslynator.CSharp.dll

Returns true if a syntax of the specified kind is a compound assignment expression.

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

Parameters​

kind   SyntaxKind

Returns​

Boolean