17 references to TargetInvocationException
Microsoft.Build (2)
Evaluation\Expander.cs (1)
4333
throw new
TargetInvocationException
(new MissingMethodException());
Instance\TaskFactories\TaskHostTask.cs (1)
474
throw new
TargetInvocationException
(taskHostTaskComplete.TaskException);
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\MetadataViewGenerator.cs (1)
148
throw new
TargetInvocationException
(e);
System.Data.Common (1)
System\Data\SQLTypes\SqlXml.cs (1)
113
throw new
TargetInvocationException
(ex);
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.Constructor.cs (2)
55
throw new
TargetInvocationException
(e);
77
throw new
TargetInvocationException
(e);
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs (7)
61
throw new
TargetInvocationException
(e);
99
throw new
TargetInvocationException
(e);
140
throw new
TargetInvocationException
(e);
178
throw new
TargetInvocationException
(e);
221
throw new
TargetInvocationException
(e);
266
throw new
TargetInvocationException
(e);
307
throw new
TargetInvocationException
(e);
src\System\RuntimeType.CoreCLR.cs (3)
3988
throw new
TargetInvocationException
(e);
4014
throw new
TargetInvocationException
(e);
4040
throw new
TargetInvocationException
(e);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
486
.Throws(new
TargetInvocationException
(exception));