예제 #1
0
파일: convert.cs 프로젝트: speier/shake
 public static void Reset()
 {
     MyEmptyExpr = null;
     explicit_conv = new DoubleHash (100);
     implicit_conv = new DoubleHash (100);
 }
예제 #2
0
파일: typemanager.cs 프로젝트: speier/shake
        public static void Reset()
        {
            //		object_type = null;

            type_hash = new DoubleHash ();
            assembly_internals_vis_attrs = new Dictionary<Assembly, bool> ();

            // TODO: I am really bored by all this static stuff
            system_type_get_type_from_handle =
            bool_movenext_void =
            void_dispose_void =
            void_monitor_enter_object =
            void_monitor_exit_object =
            void_initializearray_array_fieldhandle =
            int_interlocked_compare_exchange =
            methodbase_get_type_from_handle =
            methodbase_get_type_from_handle_generic =
            fieldinfo_get_field_from_handle =
            fieldinfo_get_field_from_handle_generic =
            activator_create_instance =
            delegate_combine_delegate_delegate =
            delegate_remove_delegate_delegate = null;

            int_get_offset_to_string_data =
            ienumerator_getcurrent = null;

            void_decimal_ctor_five_args =
            void_decimal_ctor_int_arg =
            void_decimal_ctor_long_arg = null;

            string_empty = null;

            call_site_type =
            generic_call_site_type =
            binder_flags = null;

            binder_type = null;

            typed_reference_type = arg_iterator_type = mbr_type =
            runtime_helpers_type = iasyncresult_type = asynccallback_type =
            runtime_argument_handle_type = void_ptr_type = isvolatile_type =
            generic_ilist_type = generic_icollection_type = generic_ienumerator_type =
            generic_ienumerable_type = generic_nullable_type = expression_type =
            parameter_expression_type = fieldinfo_type = methodinfo_type = ctorinfo_type = null;

            expression_type_expr = null;
        }