Open sandboxFocus

Method IsMemberKind

IsMemberKind(DeclarationKind)

Determines whether a DeclarationKind represents an IMember (event, field, finalizer, property, indexer, constructor, operator, or method).

Declaration
public static bool IsMemberKind(this DeclarationKind declarationKind)
Parameters
Type Name Description
DeclarationKind declarationKind

The declaration kind to check.

Returns
Type Description
bool

true if the declaration kind represents a member; otherwise, false.