38 references to HttpContextExpr
Microsoft.AspNetCore.Http.Extensions (38)
RequestDelegateFactory.cs (38)
91private static readonly MemberExpression RequestServicesExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.RequestServices))!); 92private static readonly MemberExpression HttpRequestExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.Request))!); 93private static readonly MemberExpression HttpResponseExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.Response))!); 94private static readonly MemberExpression RequestAbortedExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.RequestAborted))!); 95private static readonly MemberExpression UserExpr = Expression.Property(HttpContextExpr, typeof(HttpContext).GetProperty(nameof(HttpContext.User))!); 594new Expression[] { HttpContextExpr, paramArray }); 604expandedArguments[0] = HttpContextExpr; 828return HttpContextExpr; 1071HttpContextExpr, 1078HttpContextExpr, 1085HttpContextExpr, 1120HttpContextExpr); 1128HttpContextExpr); 1135HttpContextExpr, 1147HttpContextExpr, 1154HttpContextExpr, 1168HttpContextExpr); 1176HttpContextExpr); 1183HttpContextExpr, 1195HttpContextExpr, 1202HttpContextExpr, 1217return Expression.Call(ResultWriteResponseAsyncMethod, box, HttpContextExpr); 1219return Expression.Call(ResultWriteResponseAsyncMethod, methodCall, HttpContextExpr); 1223return Expression.Call(StringResultWriteResponseAsyncMethod, HttpContextExpr, methodCall); 1259responseWritingMethodCall, TargetExpr, HttpContextExpr, BoundValuesArrayExpr).Compile(); 1279responseWritingMethodCall, TargetExpr, HttpContextExpr).Compile(); 1307responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr, BoundValuesArrayExpr).Compile(); 1344responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr).Compile(); 1442responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr, BoundValuesArrayExpr).Compile(); 1476responseWritingMethodCall, TargetExpr, HttpContextExpr, BodyValueExpr).Compile(); 1757HttpContextExpr, parameterTypeNameConstant, parameterNameConstant, 1775HttpContextExpr, parameterTypeNameConstant, parameterNameConstant, sourceConstant, 1917HttpContextExpr, parameterTypeNameConstant, parameterNameConstant, sourceConstant, 1985var bindAsyncDelegate = Expression.Lambda<Func<HttpContext, ValueTask<object?>>>(bindAsyncMethod.Expression, HttpContextExpr).Compile(); 2001HttpContextExpr, 2207HttpContextExpr, 2305HttpContextExpr, 2329HttpContextExpr,