public class Constant : Expression {
public string name;
public Expression expr;
- public TypeRef typeref;
+ public string type;
public const int AllowedModifiers =
Modifiers.NEW |
Modifiers.INTERNAL |
Modifiers.PRIVATE;
- public Constant (TypeRef typeref, string name, Expression expr)
+ public Constant (string type, string name, Expression expr)
{
- this.typeref = typeref;
+ this.type = type;
this.name = name;
this.expr = expr;
}
}
}
- public Type ConstantType {
+ public string ConstantType {
get {
- return typeref.Type;
+ return type;
}
}