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

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

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