public virtual void visit(ISizeOfOperator value) { }
public override void visit(ISizeOfOperator value) { //void.System.Runtime.InteropServices.Marshal.SizeOf() Type tp = helper.GetTypeReference(value.oftype).tp; if (tp.IsPrimitive) { PushIntConst(TypeFactory.GetPrimitiveTypeSize(tp)); return; } PushSizeForSizeof(tp, value.oftype); }
public void visit(ISizeOfOperator value) { string s = value.GetType().Name + "."; //value.oftype prepare_node(value.type, s + "type"); }
public void visit(ISizeOfOperator value) { throw new System.NotSupportedException(value.GetType().ToString()); }