示例#1
0
 public static void TuneAllTypeInfos()
 {
     BasicTypeInfo.TuneAll();
     ArrayTypeInfo.TuneAll();
     ReferenceTypeInfo.TuneAll();
     PointerTypeInfo.TuneAll();
 }
示例#2
0
        public static ReferenceTypeInfo Create(TypeInfo _underlyingType)
        {
            string _type = _underlyingType.TypeClause;

            if (typeInfos.ContainsKey(_type))
            {
                return(typeInfos[_type]);
            }
            ReferenceTypeInfo ti = new ReferenceTypeInfo(_underlyingType);

            typeInfos[_type] = ti;
            return(ti);
        }