JaCIL Framework API

CompilerReferences.IsDerivedFrom Method (String, String, String, String)

Returns whether a given type derived from another.

public bool IsDerivedFrom(
   string childAsm,
   string childName,
   string parentAsm,
   string parentName
);

Parameters

childAsm
The assembly name of the child type.
childName
The name of the child type.
parentAsm
The assembly name of the parent type.
parentName
The name of the parent type.

Return Value

True if and only if the first argument is derived from the second or the first argument is the same type as the second.

Implements

ICompilerReferences.IsDerivedFrom

Exceptions

Exception Type Condition
ReferenceException If any type could not be resolved.

See Also

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