1 write to TypeOperand
System.Linq.Expressions (1)
System\Linq\Expressions\TypeBinaryExpression.cs (1)
20
TypeOperand
= 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)
39
return 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)
569
expr = new TypeBinaryExpression(expression.Node, node.
TypeOperand
, node.NodeType);
System\Linq\Expressions\DebugViewWriter.cs (1)
873
Out(node.
TypeOperand
.ToString());
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
470
public Type TypeOperand => _node.
TypeOperand
;
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
595
Out(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());
2952
if (node.
TypeOperand
.IsValueType)
2954
_instructions.EmitLoad(node.
TypeOperand
.GetNonNullableType());
2959
_instructions.EmitTypeIs(node.
TypeOperand
);
System\Linq\Expressions\TypeBinaryExpression.cs (12)
53
if (cType.IsValueType ||
TypeOperand
.IsPointer)
60
if (cType.GetNonNullableType() !=
TypeOperand
.GetNonNullableType())
73
return Expression.Block(Expression, Utils.Constant(cType ==
TypeOperand
.GetNonNullableType()));
114
if (
TypeOperand
.IsInterface)
133
Expression.Constant(
TypeOperand
.GetNonNullableType(), typeof(Type))
148
return Utils.Constant(
TypeOperand
.GetNonNullableType() == ce.Value.GetType());
177
return Expression.TypeIs(expression,
TypeOperand
);
179
return 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>