private bool IsInheritedMatch(TypeConstraintAst typeConstraintAst, Exception ex) { return (typeConstraintAst != null) && (typeConstraintAst.TypeName.GetReflectionType().IsInstanceOfType(ex)); }