-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationarea-System.Reflection
Milestone
Description
.NET Framework exposed both TargetException (fail on an invalid target, e.g, null) and TargetInvocationException (fail actually invoking the target). The runtime still throws a TargetException in coreclr and there is code in the corefx unit tests that check the exception is thrown using Type.FullName or Assert.ThrowsAny<Exception>.
Is there a reason this exception hasn't been exposed? I'm porting code checking for this exception.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationarea-System.Reflection