1 using TypeSystem.Operations;
6 using System.Collections.Generic;
7 using CodeGeneration.ExceptionManagement;
8 namespace CodeGeneration.Operations {
17 private T codeGenerator;
24 public CGToStringOperation(T codeGenerator,
int indent,
bool boxed) {
25 this.codeGenerator = codeGenerator;
30 public CGToStringOperation(T codeGenerator,
int indent) : this(codeGenerator, indent, false) { }
42 this.codeGenerator.BoxIfNeeded(this.indent, t);
43 this.codeGenerator.WriteLine(this.indent,
"callvirt instance string [mscorlib]System.Object::ToString()");
54 public override object Exec(
StringType t,
object arg) {
This class represent the entry wnen sending a message to an operation object derived from TypeExpress...
Abstract class that represents all different types.
virtual string FullName
Gets the full name of the type Note: WriteType expression is the longest recursive representation of ...
Represents a error produced when a MethodType has class information and tries to assign other class i...