6 types derived from BlockExpression
System.Linq.Expressions (6)
114 references to BlockExpression
Microsoft.AspNetCore.Http.Extensions (11)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
netstandard (1)
System.Composition.TypedParts (1)
System.Core (1)
System.Linq.Expressions (92)
System\Linq\Expressions\BlockExpression.cs (51)
67public BlockExpression Update(IEnumerable<ParameterExpression>? variables, IEnumerable<Expression> expressions)
152internal virtual BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[] args)
170internal static ReadOnlyCollection<Expression> ReturnReadOnlyExpressions(BlockExpression provider, ref object collection)
239internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[] args)
305internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[] args)
377internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[] args)
455internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[] args)
493internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[] args)
586internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[]? args)
625internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[]? args)
650internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression>? variables, Expression[]? args)
681private readonly BlockExpression _block;
684internal BlockExpressionList(BlockExpression provider, Expression arg0)
831/// Creates a <see cref="BlockExpression"/> that contains two expressions and has no variables.
835/// <returns>The created <see cref="BlockExpression"/>.</returns>
836public static BlockExpression Block(Expression arg0, Expression arg1)
845/// Creates a <see cref="BlockExpression"/> that contains three expressions and has no variables.
850/// <returns>The created <see cref="BlockExpression"/>.</returns>
851public static BlockExpression Block(Expression arg0, Expression arg1, Expression arg2)
860/// Creates a <see cref="BlockExpression"/> that contains four expressions and has no variables.
866/// <returns>The created <see cref="BlockExpression"/>.</returns>
867public static BlockExpression Block(Expression arg0, Expression arg1, Expression arg2, Expression arg3)
877/// Creates a <see cref="BlockExpression"/> that contains five expressions and has no variables.
884/// <returns>The created <see cref="BlockExpression"/>.</returns>
885public static BlockExpression Block(Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4)
897/// Creates a <see cref="BlockExpression"/> that contains the given expressions and has no variables.
900/// <returns>The created <see cref="BlockExpression"/>.</returns>
901public static BlockExpression Block(params Expression[] expressions)
910/// Creates a <see cref="BlockExpression"/> that contains the given expressions and has no variables.
913/// <returns>The created <see cref="BlockExpression"/>.</returns>
914public static BlockExpression Block(IEnumerable<Expression> expressions)
920/// Creates a <see cref="BlockExpression"/> that contains the given expressions, has no variables and has specific result type.
924/// <returns>The created <see cref="BlockExpression"/>.</returns>
925public static BlockExpression Block(Type type, params Expression[] expressions)
932/// Creates a <see cref="BlockExpression"/> that contains the given expressions, has no variables and has specific result type.
936/// <returns>The created <see cref="BlockExpression"/>.</returns>
937public static BlockExpression Block(Type type, IEnumerable<Expression> expressions)
943/// Creates a <see cref="BlockExpression"/> that contains the given variables and expressions.
947/// <returns>The created <see cref="BlockExpression"/>.</returns>
948public static BlockExpression Block(IEnumerable<ParameterExpression>? variables, params Expression[] expressions)
954/// Creates a <see cref="BlockExpression"/> that contains the given variables and expressions.
959/// <returns>The created <see cref="BlockExpression"/>.</returns>
960public static BlockExpression Block(Type type, IEnumerable<ParameterExpression>? variables, params Expression[] expressions)
966/// Creates a <see cref="BlockExpression"/> that contains the given variables and expressions.
970/// <returns>The created <see cref="BlockExpression"/>.</returns>
971public static BlockExpression Block(IEnumerable<ParameterExpression>? variables, IEnumerable<Expression> expressions)
993/// Creates a <see cref="BlockExpression"/> that contains the given variables and expressions.
998/// <returns>The created <see cref="BlockExpression"/>.</returns>
999public static BlockExpression Block(Type type, IEnumerable<ParameterExpression>? variables, IEnumerable<Expression> expressions)
1027private static BlockExpression BlockCore(Type? type, ReadOnlyCollection<ParameterExpression> variables, ReadOnlyCollection<Expression> expressions)
1088private static BlockExpression GetOptimizedBlockExpression(IReadOnlyList<Expression> expressions)
System.Linq.Queryable (1)
System.ServiceModel.Primitives (1)