Inference/src/CodeGeneration/RrotorCodeGenerator.cs
/// <summary>
/// Writes the Unbox and ldobj instruction
/// </summary>
/// <param name="indent">Indentation to use.</param>
/// <param name="type">Value type to revert.</param>
Writes the Unbox and ldobj instruction
Writes the Unbox and ldobj instruction
public override void UnboxAny(int indent, TypeExpression type) {
            this.ilStamentsCodeGeneration.WriteIndentation(indent);
            this.ilStamentsCodeGeneration.WriteLine("Unbox\t{0}", type.ILType());
            this.ilStamentsCodeGeneration.WriteLine("ldobj\t{0}", type.ILType());
        }
public override void UnboxAny ( int indent , TypeExpression type ) { this . ilStamentsCodeGeneration . WriteIndentation ( indent ) ; this . ilStamentsCodeGeneration . WriteLine ( " \t " , type . ILType ( ) ) ; this . ilStamentsCodeGeneration . WriteLine ( " \t " , type . ILType ( ) ) ; }
Writes the Unbox and ldobj instruction
Writes the Unbox and ldobj instruction
indent
int
Indentation to use.
Indentation to use .
type
TypeExpression
Value type to revert.
Value type to revert .