11 references to EmitConvertToType
System.Core (11)
Microsoft\Scripting\Compiler\ILGen.cs (3)
791il.EmitConvertToType(nnTypeFrom, nnTypeTo, isChecked); 813il.EmitConvertToType(typeFrom, nnTypeTo, isChecked); 841il.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);