38 references to HttpContextExpr
Microsoft.AspNetCore.Http.Extensions (38)
RequestDelegateFactory.cs (38)
92private static readonly MemberExpression RequestServicesExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.RequestServices))!);
93private static readonly MemberExpression HttpRequestExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.Request))!);
94private static readonly MemberExpression HttpResponseExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.Response))!);
95private static readonly MemberExpression RequestAbortedExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.RequestAborted))!);
96private static readonly MemberExpression UserExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.User))!);
603new Expression[] { HttpContextExpr, paramArray });
613expandedArguments[0] = HttpContextExpr;
837return HttpContextExpr;
1083HttpContextExpr,
1090HttpContextExpr,
1097HttpContextExpr,
1132HttpContextExpr);
1140HttpContextExpr);
1147HttpContextExpr,
1159HttpContextExpr,
1166HttpContextExpr,
1180HttpContextExpr);
1188HttpContextExpr);
1195HttpContextExpr,
1207HttpContextExpr,
1214HttpContextExpr,
1229return Expression.Call(ResultWriteResponseAsyncMethod, box, HttpContextExpr);
1231return Expression.Call(ResultWriteResponseAsyncMethod, methodCall, HttpContextExpr);
1235return Expression.Call(StringResultWriteResponseAsyncMethod, HttpContextExpr, methodCall);
1271responseWritingMethodCall, TargetExpr, HttpContextExpr, BoundValuesArrayExpr).Compile();
1291responseWritingMethodCall, TargetExpr, HttpContextExpr).Compile();
1319responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr, BoundValuesArrayExpr).Compile();
1356responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr).Compile();
1454responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr, BoundValuesArrayExpr).Compile();
1488responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr).Compile();
1769HttpContextExpr, parameterTypeNameConstant, parameterNameConstant,
1787HttpContextExpr, parameterTypeNameConstant, parameterNameConstant, sourceConstant,
1929HttpContextExpr, parameterTypeNameConstant, parameterNameConstant, sourceConstant,
2031var bindAsyncDelegate = Expression.Lambda<Func<HttpContext, ValueTask<object?>>>(bindAsyncMethod.Expression, HttpContextExpr).Compile();
2047HttpContextExpr,
2253HttpContextExpr,
2351HttpContextExpr,
2375HttpContextExpr,