CSharpFacts.IsConstraint(SyntaxKind) Method
Containing Type: CSharpFacts
Assembly: Roslynator.CSharp.dll
Returns true if a syntax of the specified kind is a constraint.
public static bool IsConstraint(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)
Parameters
kind SyntaxKind