1 write to _enumTryParseMethod
Microsoft.AspNetCore.OpenApi (1)
src\Shared\ParameterBindingMethodCache.cs (1)
55
_enumTryParseMethod
= GetEnumTryParseMethod(preferNonGenericEnumParseOverload);
3 references to _enumTryParseMethod
Microsoft.AspNetCore.OpenApi (3)
src\Shared\ParameterBindingMethodCache.cs (3)
90
if (
_enumTryParseMethod
.IsGenericMethod)
92
methodInfo =
_enumTryParseMethod
.MakeGenericMethod(type);
109
Expression.Assign(success, Expression.Call(
_enumTryParseMethod
, Expression.Constant(type), TempSourceStringExpr, enumAsObject)),