11 references to EmitConvertToType
System.Core (11)
Microsoft\Scripting\Compiler\ILGen.cs (3)
791
il.
EmitConvertToType
(nnTypeFrom, nnTypeTo, isChecked);
813
il.
EmitConvertToType
(typeFrom, nnTypeTo, isChecked);
841
il.
EmitConvertToType
(nnTypeFrom, typeTo, isChecked);
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (1)
94
_ilg.
EmitConvertToType
(indexType, typeof(int), true);
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (1)
477
_ilg.
EmitConvertToType
(TypeUtils.GetNonNullableType(resultType), resultType, true);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
743
_ilg.
EmitConvertToType
(x.Type, typeof(int), true);
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (2)
145
_ilg.
EmitConvertToType
(nnLeftType, b.Type, true);
156
_ilg.
EmitConvertToType
(b.Right.Type, b.Type, true);
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (3)
86
_ilg.
EmitConvertToType
(typeof(int), node.Operand.Type, false);
329
_ilg.
EmitConvertToType
(node.Operand.Type, node.Type, node.NodeType == ExpressionType.ConvertChecked);
342
_ilg.
EmitConvertToType
(resultType, node.Type, false);