1 write to _enumTryParseMethod
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\ParameterBindingMethodCache.cs (1)
61
_enumTryParseMethod
= GetEnumTryParseMethod(preferNonGenericEnumParseOverload);
3 references to _enumTryParseMethod
Microsoft.AspNetCore.Http.Extensions (3)
src\Shared\ParameterBindingMethodCache.cs (3)
96
if (
_enumTryParseMethod
.IsGenericMethod)
98
methodInfo =
_enumTryParseMethod
.MakeGenericMethod(type);
115
Expression.Assign(success, Expression.Call(
_enumTryParseMethod
, Expression.Constant(type), TempSourceStringExpr, enumAsObject)),