6 types derived from BlockExpression
System.Core (6)
Microsoft\Scripting\Ast\BlockExpression.cs (6)
181
internal sealed class Block2 :
BlockExpression
{
216
internal sealed class Block3 :
BlockExpression
{
253
internal sealed class Block4 :
BlockExpression
{
292
internal sealed class Block5 :
BlockExpression
{
333
internal class BlockN :
BlockExpression
{
365
internal class ScopeExpression :
BlockExpression
{
87 references to BlockExpression
System.Activities (8)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
626
BlockExpression
block = (
BlockExpression
)expression;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (4)
1088
BlockExpression
block = (
BlockExpression
)expression;
1320
BlockExpression
block = (
BlockExpression
)expression;
System\Activities\ExpressionUtilities.cs (2)
1170
BlockExpression
block = (
BlockExpression
)expression;
System.Core (79)
Microsoft\Scripting\Ast\BlockExpression.cs (49)
100
public
BlockExpression
Update(IEnumerable<ParameterExpression> variables, IEnumerable<Expression> expressions) {
146
internal virtual
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
163
internal static ReadOnlyCollection<Expression> ReturnReadOnlyExpressions(
BlockExpression
provider, ref object collection) {
208
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
245
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
284
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
325
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
358
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
429
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
459
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
479
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
502
private readonly
BlockExpression
_block;
505
internal BlockExpressionList(
BlockExpression
provider, Expression arg0) {
614
/// Creates a <see cref="
BlockExpression
"/> that contains two expressions and has no variables.
618
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
619
public static
BlockExpression
Block(Expression arg0, Expression arg1) {
626
/// Creates a <see cref="
BlockExpression
"/> that contains three expressions and has no variables.
631
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
632
public static
BlockExpression
Block(Expression arg0, Expression arg1, Expression arg2) {
640
/// Creates a <see cref="
BlockExpression
"/> that contains four expressions and has no variables.
646
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
647
public static
BlockExpression
Block(Expression arg0, Expression arg1, Expression arg2, Expression arg3) {
656
/// Creates a <see cref="
BlockExpression
"/> that contains five expressions and has no variables.
663
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
664
public static
BlockExpression
Block(Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4) {
675
/// Creates a <see cref="
BlockExpression
"/> that contains the given expressions and has no variables.
678
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
679
public static
BlockExpression
Block(params Expression[] expressions) {
695
/// Creates a <see cref="
BlockExpression
"/> that contains the given expressions and has no variables.
698
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
699
public static
BlockExpression
Block(IEnumerable<Expression> expressions) {
704
/// Creates a <see cref="
BlockExpression
"/> that contains the given expressions, has no variables and has specific result type.
708
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
709
public static
BlockExpression
Block(Type type, params Expression[] expressions) {
715
/// Creates a <see cref="
BlockExpression
"/> that contains the given expressions, has no variables and has specific result type.
719
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
720
public static
BlockExpression
Block(Type type, IEnumerable<Expression> expressions) {
725
/// Creates a <see cref="
BlockExpression
"/> that contains the given variables and expressions.
729
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
730
public static
BlockExpression
Block(IEnumerable<ParameterExpression> variables, params Expression[] expressions) {
735
/// Creates a <see cref="
BlockExpression
"/> that contains the given variables and expressions.
740
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
741
public static
BlockExpression
Block(Type type, IEnumerable<ParameterExpression> variables, params Expression[] expressions) {
746
/// Creates a <see cref="
BlockExpression
"/> that contains the given variables and expressions.
750
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
751
public static
BlockExpression
Block(IEnumerable<ParameterExpression> variables, IEnumerable<Expression> expressions) {
761
/// Creates a <see cref="
BlockExpression
"/> that contains the given variables and expressions.
766
/// <returns>The created <see cref="
BlockExpression
"/>.</returns>
767
public static
BlockExpression
Block(Type type, IEnumerable<ParameterExpression> variables, IEnumerable<Expression> expressions) {
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
946
protected internal override Expression VisitBlock(
BlockExpression
node) {
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (2)
53
private readonly
BlockExpression
_node;
55
public BlockExpressionProxy(
BlockExpression
node) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
691
protected internal override Expression VisitBlock(
BlockExpression
node) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
209
/// Visits the children of the <see cref="
BlockExpression
" />.
214
protected internal virtual Expression VisitBlock(
BlockExpression
node) {
Microsoft\Scripting\Compiler\CompilerScope.cs (2)
449
var
block = scope as
BlockExpression
;
Microsoft\Scripting\Compiler\ExpressionQuoter.cs (1)
87
protected internal override Expression VisitBlock(
BlockExpression
node) {
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (4)
210
var
block = node as
BlockExpression
;
243
var
body = (
BlockExpression
)expression;
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
104
Emit((
BlockExpression
)node, UpdateEmitAsTypeFlag(flags, CompilationFlags.EmitAsVoidType));
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (4)
77
var
block = node as
BlockExpression
;
491
EmitBranchBlock(branchValue, (
BlockExpression
)node, label);
635
private void EmitBranchBlock(bool branch,
BlockExpression
node, Label label) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (5)
36
Emit((
BlockExpression
)expr, UpdateEmitAsTypeFlag(flags, CompilationFlags.EmitAsDefaultType));
39
private void Emit(
BlockExpression
node, CompilationFlags flags) {
118
var
block = node as
BlockExpression
;
641
var
reduced = Expression.Block(
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
691
BlockExpression
node = (
BlockExpression
)expr;
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (1)
304
internal override
BlockExpression
Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
Microsoft\Scripting\Compiler\VariableBinder.cs (4)
117
protected internal override Expression VisitBlock(
BlockExpression
node) {
148
body = ((
BlockExpression
)node).Expressions;
156
var
block = (
BlockExpression
)body[0];