7 overrides of ExpressionCount
System.Linq.Expressions (7)
System\Linq\Expressions\BlockExpression.cs (7)
232
internal override int
ExpressionCount
=> 2;
298
internal override int
ExpressionCount
=> 3;
370
internal override int
ExpressionCount
=> 4;
448
internal override int
ExpressionCount
=> 5;
486
internal override int
ExpressionCount
=> _expressions.Count;
579
internal override int
ExpressionCount
=> 1;
618
internal override int
ExpressionCount
=> _body.Count;
16 references to ExpressionCount
System.Linq.Expressions (16)
System\Dynamic\Utils\ExpressionVisitorUtils.cs (1)
13
for (int i = 0, n = block.
ExpressionCount
; i < n; i++)
System\Linq\Expressions\BlockExpression.cs (6)
32
public Expression Result => GetExpression(
ExpressionCount
- 1);
57
public override Type Type => GetExpression(
ExpressionCount
- 1).Type;
699
for (int i = 1; i < _block.
ExpressionCount
; i++)
769
int n = _block.
ExpressionCount
;
783
public int Count => _block.
ExpressionCount
;
808
for (int i = 1; i < _block.
ExpressionCount
; i++)
System\Linq\Expressions\Compiler\LambdaCompiler.ControlFlow.cs (3)
228
for (int i = 0, n = block.
ExpressionCount
; i < n; i++)
265
if (body.
ExpressionCount
== 0)
269
for (int i = body.
ExpressionCount
- 1; i >= 0; i--)
System\Linq\Expressions\Compiler\LambdaCompiler.Logical.cs (2)
69
for (int i = 0; i < block.
ExpressionCount
; i++)
647
int count = node.
ExpressionCount
;
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
26
int count = node.
ExpressionCount
;
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
779
int count = node.
ExpressionCount
;
System\Linq\Expressions\DebugViewWriter.cs (1)
972
if (node.Type != node.GetExpression(node.
ExpressionCount
- 1).Type)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
519
if (node.
ExpressionCount
!= 0)