1 write to TypeOperand
System.Linq.Expressions (1)
System\Linq\Expressions\TypeBinaryExpression.cs (1)
20TypeOperand = typeOperand;
24 references to TypeOperand
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
398_s.AppendLine(indent + "Type Operand: " + node.TypeOperand.ToString())
System.Linq.Expressions (23)
System\Linq\Expressions\Common\ConstantCheck.cs (1)
39return AnalyzeTypeIs(typeIs.Expression, typeIs.TypeOperand);
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (1)
696_ilg.Emit(OpCodes.Isinst, node.TypeOperand);
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
569expr = new TypeBinaryExpression(expression.Node, node.TypeOperand, node.NodeType);
System\Linq\Expressions\DebugViewWriter.cs (1)
873Out(node.TypeOperand.ToString());
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
470public Type TypeOperand => _node.TypeOperand;
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
595Out(node.TypeOperand.Name);
System\Linq\Expressions\Interpreter\LightCompiler.cs (5)
2906_instructions.EmitLoad(node.TypeOperand == typeof(void), typeof(bool)); 2910_instructions.EmitLoad(node.TypeOperand.GetNonNullableType()); 2952if (node.TypeOperand.IsValueType) 2954_instructions.EmitLoad(node.TypeOperand.GetNonNullableType()); 2959_instructions.EmitTypeIs(node.TypeOperand);
System\Linq\Expressions\TypeBinaryExpression.cs (12)
53if (cType.IsValueType || TypeOperand.IsPointer) 60if (cType.GetNonNullableType() != TypeOperand.GetNonNullableType()) 73return Expression.Block(Expression, Utils.Constant(cType == TypeOperand.GetNonNullableType())); 114if (TypeOperand.IsInterface) 133Expression.Constant(TypeOperand.GetNonNullableType(), typeof(Type)) 148return Utils.Constant(TypeOperand.GetNonNullableType() == ce.Value.GetType()); 177return Expression.TypeIs(expression, TypeOperand); 179return Expression.TypeEqual(expression, TypeOperand); 189/// <param name="type">A <see cref="Type"/> to set the <see cref="TypeBinaryExpression.TypeOperand"/> property equal to.</param> 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> 204/// <param name="type">A <see cref="Type"/> to set the <see cref="TypeBinaryExpression.TypeOperand"/> property equal to.</param> 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>