" -nostdlib[+|-] Does not load core libraries\n" +
" -nowarn:W1[,W2] Disables one or more warnings\n" +
" -out:FNAME Specifies output file\n" +
- " -doc:XMLFILE Generates xml documentation into specified file\n" +
" -pkg:P1[,Pn] References packages P1..Pn\n" +
" --expect-error X Expect that error X will be encountered\n" +
" -recurse:SPEC Recursively compiles the files in SPEC ([dir]/file)\n" +
" -warnaserror[+|-] Treat warnings as errors\n" +
" -warn:LEVEL Sets warning level (the highest is 4, the default is 2)\n" +
" -help2 Show other help flags\n" +
+
+ //
+ // VB.NET specific compiler options
+ //
+ " -removeintchecks[+|-] Set default context to unchecked\n" +
+ " -optionstrict[+|-] Enables stricter type checking\n" +
+
"\n" +
"Resources:\n" +
" -linkresource:FILE[,ID] Links FILE as a resource\n" +
case "--noconfig":
load_default_config = false;
return true;
+
+ //
+ // VB.NET specific compiler options
+ //
+
+ case "--removeintchecks":
+ RootContext.Checked = false;
+ return true;
+
+ case "--optionstrict":
+ RootContext.StricterTypeChecking= true;
+ return true;
+
}
return false;
Environment.Exit (1);
}
return true;
+
+ //
+ // VB.NET specific compiler options
+ //
+
+ case "/removeintchecks":
+ case "/removeintchecks+":
+ RootContext.Checked = false;
+ return true;
+
+ case "/removeintchecks-":
+ RootContext.Checked = true;
+ return true;
+
+ case "/optionstrict":
+ case "/optionstrict+":
+ RootContext.StricterTypeChecking = true;
+ return true;
+
+ case "/optionstrict-":
+ RootContext.StricterTypeChecking = false;
+ return true;
+
}
//Report.Error (2007, String.Format ("Unrecognized command-line option: '{0}'", option));
//Environment.Exit (1);