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