JaCIL Framework API

ICompilerReferences.IsInterface Method (TypeReference)

Returns whether a Cecil type reference is an interface by searching internally based on the name of the type and the assembly of the type.

bool IsInterface(
   TypeReference type
);

Parameters

type
The type reference to search.

Return Value

True if and only if the type represents an interface.

Exceptions

Exception Type Condition
ReferenceException If the type could not be resolved

See Also

ICompilerReferences Interface | JaCIL.Compiler Namespace | ICompilerReferences.IsInterface Overload List