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