8 instantiations of TargetParameterCountException
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\Errors.cs (1)
34
return new System.Reflection.
TargetParameterCountException
(SR.Format(SR.COMDispatchInvokeError, p0));
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
859
return new System.Reflection.
TargetParameterCountException
();
System\Reflection\ConstructorInvoker.cs (1)
123
throw new
TargetParameterCountException
(SR.Arg_ParmCnt);
System\Reflection\DynamicInvokeInfo.cs (1)
395
throw new
TargetParameterCountException
(SR.Arg_ParmCnt);
System\Reflection\MethodInvoker.cs (1)
140
throw new
TargetParameterCountException
(SR.Arg_ParmCnt);
System\Reflection\Runtime\MethodInfos\CustomMethodInvoker.cs (1)
46
throw new
TargetParameterCountException
();
System.Reflection.Context (2)
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertyGetter.cs (1)
32
throw new
TargetParameterCountException
();
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertySetter.cs (1)
39
throw new
TargetParameterCountException
();
8 references to TargetParameterCountException
Microsoft.Build.Framework (1)
ExceptionHandling.cs (1)
139
|| e is
TargetParameterCountException
// thrown when the number of parameters for an invocation does not match the number expected
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (1)
465
ElseIf TypeOf ex.InnerException Is
TargetParameterCountException
Then
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
498
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
TargetParameterCountException
))]
netstandard (1)
netstandard.cs (1)
1466
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
TargetParameterCountException
))]
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\ReflectionModel\ExportingMember.cs (1)
60
catch (
TargetParameterCountException
exception)
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (1)
77
catch (
TargetParameterCountException
exception)
System.Reflection (1)
System.Reflection.cs (1)
35
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
TargetParameterCountException
))]
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
518
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
TargetParameterCountException
))]