Open sandboxFocus

Property IsDelegate

IsDelegate

Gets a value indicating whether the type is a delegate, which is equivalent to testing whether TypeKind is Delegate.

Declaration
bool IsDelegate { get; }
Property Value
Type Description
bool
Remarks

This property answers whether the type is a delegate without allocating anything. The signature of the delegate is read through Facets, as in type.Facets.Delegate?.ReturnType.

See Also