1 write to _throwOnInvalidMethod
Microsoft.AspNetCore.OpenApi (1)
src\Shared\ParameterBindingMethodCache.cs (1)
62
_throwOnInvalidMethod
= throwOnInvalidMethod;
3 references to _throwOnInvalidMethod
Microsoft.AspNetCore.OpenApi (3)
src\Shared\ParameterBindingMethodCache.cs (3)
190
if (
_throwOnInvalidMethod
&& GetAnyMethodFromHierarchy(type, "TryParse") is MethodInfo invalidMethod)
284
if (
_throwOnInvalidMethod
&& GetAnyMethodFromHierarchy(nonNullableParameterType, "BindAsync") is MethodInfo invalidBindMethod)
464
if (
_throwOnInvalidMethod
)