예제 #1
0
        public uint GetSize()
        {
            uint ret = SignatureHelper.GetCompressedSize(this.Count);

            foreach (LocalVar v in Items)
            {
                ret += v.GetSize();
            }
            return(ret);
        }
예제 #2
0
        public uint GetSize()
        {
            uint ret = SignatureHelper.GetCompressedSize(this.Count);

            foreach (TypeElement t in Items)
            {
                ret += t.GetSize();
            }
            return(ret);
        }
예제 #3
0
        public uint GetSize()
        {
            uint ret = SignatureHelper.GetCompressedSize(this.Count) + (sen != -1 ? 1U : 0);

            foreach (ParamElement p in Items)
            {
                ret += p.GetSize();
            }
            return(ret);
        }
예제 #4
0
        public uint GetSize()
        {
            uint ret = 0;

            ret += SignatureHelper.GetCompressedSize(r);
            ret += SignatureHelper.GetCompressedSize((uint)s.Length);
            foreach (uint i in s)
            {
                ret += SignatureHelper.GetCompressedSize(i);
            }
            ret += SignatureHelper.GetCompressedSize((uint)lb.Length);
            foreach (uint i in lb)
            {
                ret += SignatureHelper.GetCompressedSize(i);
            }
            return(ret);
        }
예제 #5
0
 public uint GetSize()
 {
     return(1 + SignatureHelper.GetCompressedSize(t.Token.Value));
 }
 public uint GetSize()
 {
     return(1 + ((f & MethodFlags.Generic) == MethodFlags.Generic ? SignatureHelper.GetCompressedSize(gc) : 0) + rt.GetSize() + ps.GetSize());
 }
예제 #7
0
 public uint GetSize()
 {
     return(1 + SignatureHelper.GetCompressedSize(mods.Count) + mods.GetSize() + t.GetSize() + ps.GetSize());
 }