示例#1
0
        public FldInfo AddGenericField(ICommonClassFieldNode f, FieldInfo fb, Type field_type)
        {
            FldInfo fi = new GenericFldInfo(fb, field_type);

            defs[f] = fi;
            return(fi);
        }
示例#2
0
        public FldInfo AddGenericField(ICommonClassFieldNode f, FieldInfo fb, Type field_type)
        {
            FldInfo fi = new GenericFldInfo(fb, field_type);

            /*if (f.name == "XYZW")
             * {
             *  var y = f.GetHashCode();
             * } */
            defs[f] = fi;
            return(fi);
        }
示例#3
0
        public FldInfo AddGenericField(ICommonClassFieldNode f, FieldInfo fb, Type field_type, FieldInfo prev_fi)
        {
            FldInfo fi = new GenericFldInfo(fb, field_type, prev_fi); // prev_fi - чтобы сконструировать на последнем этапе fi

#if DEBUG
            /*if (f.name == "XYZW")
             * {
             *  var y = f.GetHashCode();
             * }*/
#endif
            defs[f] = fi;
            return(fi);
        }
示例#4
0
 public FldInfo AddGenericField(ICommonClassFieldNode f, FieldInfo fb, Type field_type)
 {
     FldInfo fi = new GenericFldInfo(fb, field_type);
     defs[f] = fi;
     return fi;
 }