isRef() 공개 메소드

Is this a reference (boxed) type?
public isRef ( ) : bool
리턴 bool
예제 #1
0
파일: FCodeEmit.cs 프로젝트: nomit007/f4
        private void doCompare(string suffix, FTypeRef lhs, FTypeRef rhs)
        {
            // get lhs and rhs types
              string[] args = new string[]
              {
            lhs.isRef() ? "System.Object" : lhs.nname(),
            rhs.isRef() ? "System.Object" : rhs.nname()
              };
              string ret = (suffix == "") ? "System.Int64" : "System.Boolean";

              PERWAPI.Method m = emitter.findMethod("Fanx.Util.OpUtil", "compare"+suffix, args, ret);
              code.MethInst(MethodOp.call, m);
        }