JaCIL Framework API

CompilerReferences.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.

public bool IsInterface(
   TypeReference type
);

Parameters

type
The type reference to search.

Return Value

True if and only if the type represents an interface.

Implements

ICompilerReferences.IsInterface

Exceptions

Exception Type Condition
ReferenceException If the type could not be resolved

See Also

CompilerReferences Class | JaCIL.Compiler Namespace | CompilerReferences.IsInterface Overload List