Mono.CSharp.TypeManager.Reset C# (CSharp) Method

Reset() static public method

static public Reset ( ) : void
return void
	static public void Reset ()
	{
//		object_type = null;
	
		// 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 =
		gen_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;

		typed_reference_type = arg_iterator_type = mbr_type =
		generic_ilist_type = generic_icollection_type = generic_ienumerator_type =
		generic_ienumerable_type = generic_nullable_type = expression_type = null;
	}

Usage Example

Example #1
0
        public static void Reset(bool full_flag)
        {
            CSharpParser.yacc_verbose_flag = 0;
            Location.Reset();

            if (!full_flag)
            {
                return;
            }

            RootContext.Reset(full_flag);
            TypeManager.Reset();
            ReferenceContainer.Reset();
            PointerContainer.Reset();
            Parameter.Reset();

            Unary.Reset();
            UnaryMutator.Reset();
            Binary.Reset();
            ConstantFold.Reset();
            CastFromDecimal.Reset();
            StringConcat.Reset();

            NamespaceEntry.Reset();
            Attribute.Reset();
            AnonymousTypeClass.Reset();
            AnonymousMethodBody.Reset();
            AnonymousMethodStorey.Reset();
            SymbolWriter.Reset();
            Switch.Reset();
            Linq.QueryBlock.TransparentParameter.Reset();
            Convert.Reset();
            TypeInfo.Reset();
        }