1 write to Expression
System.Linq.Expressions (1)
System\Linq\Expressions\TypeBinaryExpression.cs (1)
19
Expression
= expression;
31 references to Expression
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
396
Visit(node.
Expression
)
System.Linq.Expressions (30)
System\Linq\Expressions\Common\ConstantCheck.cs (1)
39
return AnalyzeTypeIs(typeIs.
Expression
, typeIs.TypeOperand);
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (5)
655
Type type = node.
Expression
.Type;
665
EmitExpressionAsVoid(node.
Expression
);
676
EmitAddress(node.
Expression
, type);
682
EmitExpression(node.
Expression
);
691
EmitExpression(node.
Expression
);
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
565
Result expression = RewriteExpression(node.
Expression
, stack);
System\Linq\Expressions\DebugViewWriter.cs (1)
863
ParenthesizedVisit(node, node.
Expression
);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
467
public Expression Expression => _node.
Expression
;
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
585
Visit(node.
Expression
);
System\Linq\Expressions\ExpressionVisitor.cs (1)
529
return node.Update(Visit(node.
Expression
));
System\Linq\Expressions\Interpreter\LightCompiler.cs (4)
2903
Compile(node.
Expression
);
2904
if (node.
Expression
.Type == typeof(void))
2928
Compile(node.
Expression
);
2937
if (node.
Expression
.Type != typeof(void))
System\Linq\Expressions\TypeBinaryExpression.cs (15)
25
/// Gets the static type of the expression that this <see cref="
Expression
"/> represents.
51
Type cType =
Expression
.Type;
62
return Expression.Block(
Expression
, Utils.Constant(value: false));
66
return Expression.NotEqual(
Expression
, Expression.Constant(null,
Expression
.Type));
73
return Expression.Block(
Expression
, Utils.Constant(cType == TypeOperand.GetNonNullableType()));
77
Debug.Assert(TypeUtils.AreReferenceAssignable(typeof(object),
Expression
.Type), "Expecting reference types only after this point.");
80
if (
Expression
.NodeType == ExpressionType.Constant)
86
var parameter =
Expression
as ParameterExpression;
98
Expression.Assign(parameter,
Expression
),
140
ConstantExpression? ce =
Expression
as ConstantExpression;
167
/// <param name="expression">The <see cref="
Expression
"/> property of the result.</param>
171
if (expression ==
Expression
)
190
/// <returns>A <see cref="TypeBinaryExpression"/> for which the <see cref="NodeType"/> property is equal to <see cref="ExpressionType.TypeIs"/> and for which the <see cref="TypeBinaryExpression.
Expression
"/> and <see cref="TypeBinaryExpression.TypeOperand"/> properties are set to the specified values.</returns>
205
/// <returns>A <see cref="TypeBinaryExpression"/> for which the <see cref="NodeType"/> property is equal to <see cref="ExpressionType.TypeEqual"/> and for which the <see cref="TypeBinaryExpression.
Expression
"/> and <see cref="TypeBinaryExpression.TypeOperand"/> properties are set to the specified values.</returns>