コード例 #1
0
        public static void Reset(bool full)
        {
            if (full)
            {
                root = new RootTypes();
            }

            type_container_resolve_order = new ArrayList();
            EntryPoint          = null;
            Report.WarningLevel = 4;
            Checked             = false;
            Unsafe                 = false;
            StdLib                 = true;
            StrongNameKeyFile      = null;
            StrongNameKeyContainer = null;
            StrongNameDelaySign    = false;
            MainClass              = null;
            Target                 = Target.Exe;
            TargetExt              = ".exe";
            Version                = LanguageVersion.Default;
            Documentation          = null;
            impl_details_class     = null;
            helper_classes         = null;

            //
            // Setup default defines
            //
            RootContext.AllDefines = new ArrayList();
            RootContext.AddConditional("__MonoCS__");
        }
コード例 #2
0
ファイル: rootcontext.cs プロジェクト: lewurm/benchmarker
		public static void Reset (bool full)
		{
			if (full)
				root = new RootTypes ();
			
			type_container_resolve_order = new ArrayList ();
			EntryPoint = null;
			Report.WarningLevel = 4;
			Checked = false;
			Unsafe = false;
			StdLib = true;
			StrongNameKeyFile = null;
			StrongNameKeyContainer = null;
			StrongNameDelaySign = false;
			MainClass = null;
			Target = Target.Exe;
			TargetExt = ".exe";
			Version = LanguageVersion.Default;
			Documentation = null;
			impl_details_class = null;
			helper_classes = null;

			//
			// Setup default defines
			//
			RootContext.AllDefines = new ArrayList ();
			RootContext.AddConditional ("__MonoCS__");
		}