20 references to DoNotWrapExceptions
Microsoft.AspNetCore.Connections.Abstractions (1)
src\Shared\ActivatorUtilities\ActivatorUtilities.cs (1)
169
return _constructor.Invoke(BindingFlags.
DoNotWrapExceptions
, binder: null, parameters: _parameterValues, culture: null);
Microsoft.AspNetCore.Hosting (1)
Internal\MethodInfoExtensions.cs (1)
17
return methodInfo.Invoke(obj, BindingFlags.
DoNotWrapExceptions
, binder: null, parameters: parameters, culture: null);
Microsoft.AspNetCore.Http.Abstractions (1)
Extensions\UseMiddlewareExtensions.cs (1)
235
return (Task)methodInfo.Invoke(middleware, BindingFlags.
DoNotWrapExceptions
, binder: null, methodArguments, culture: null)!;
Microsoft.AspNetCore.Http.Results (1)
ResultsOfTHelper.cs (1)
46
populateMetadataMethod.Invoke(null, BindingFlags.
DoNotWrapExceptions
, binder: null, parameters, culture: null);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ActivatorUtilities\ActivatorUtilities.cs (1)
169
return _constructor.Invoke(BindingFlags.
DoNotWrapExceptions
, binder: null, parameters: _parameterValues, culture: null);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteRuntimeResolver.cs (1)
69
return constructorCallSite.ConstructorInfo.Invoke(BindingFlags.
DoNotWrapExceptions
, binder: null, parameters: parameterValues, culture: null);
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\FileIO\SpecialDirectories.vb (1)
170
Return DirectCast([property].GetValue(Nothing, BindingFlags.
DoNotWrapExceptions
, Nothing, Nothing, Nothing), String)
Microsoft\VisualBasic\Interaction.vb (1)
143
Return method.Invoke(Nothing, BindingFlags.
DoNotWrapExceptions
, Nothing, args, Nothing)
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\AppDomain.cs (1)
142
invokeAttr: BindingFlags.
DoNotWrapExceptions
,
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.Constructor.cs (1)
22
bool wrapInTargetInvocationException = (invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0;
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs (7)
59
catch (Exception e) when ((invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0)
97
catch (Exception e) when ((invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0)
138
catch (Exception e) when ((invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0)
176
catch (Exception e) when ((invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0)
219
catch (Exception e) when ((invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0)
264
catch (Exception e) when ((invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0)
305
catch (Exception e) when ((invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0)
src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeConstructorInfo.cs (1)
130
Invoker.InvokeConstructorWithoutAlloc(obj!, (invokeAttr & BindingFlags.
DoNotWrapExceptions
) == 0) :
src\System\RuntimeType.CoreCLR.cs (1)
3861
bool wrapExceptions = (bindingAttr & BindingFlags.
DoNotWrapExceptions
) == 0;
System.Text.Json (1)
System\ReflectionExtensions.cs (1)
104
return ctorInfo.Invoke(BindingFlags.
DoNotWrapExceptions
, null, parameters, null);