public static object[] GetCompiledConstants(int key) { return ConstantsMap[key]; //WeakReference wr = ConstantsMap[key]; //return (object[])wr.Target; }