[mcs] Accept and ignore command line args supported by csc that we don't
authorAnkit Jain <ankit.jain@xamarin.com>
Thu, 24 Mar 2016 19:21:58 +0000 (15:21 -0400)
committerAnkit Jain <ankit.jain@xamarin.com>
Thu, 24 Mar 2016 19:21:58 +0000 (15:21 -0400)
support:

/analyzer
/appconfig
/baseaddress
/deterministic
/errorendlocation
/errorlog
/features
/link
/moduleassemblyname
/pathmap
/pdb
/preferreduilang
/publicsign
/reportanalyzer
/ruleset
/sqmsessionguid

mcs/mcs/settings.cs

index 16a67f4cbd9cb446147670c989887cef81f56c17..0c199017af9b1d4e3e19624afb3563ee9b7705ca 100644 (file)
@@ -1211,13 +1211,29 @@ namespace Mono.CSharp {
                                return ParseResult.Success;
 
                        // csc options that we don't support
-                       case "/utf8output":
-                       case "/subsystemversion":
+                       case "/analyzer":
+                       case "/appconfig":
+                       case "/baseaddress":
+                       case "/deterministic":
+                       case "/errorendlocation":
+                       case "/errorlog":
+                       case "/features":
                        case "/highentropyva":
                        case "/highentropyva+":
                        case "/highentropyva-":
-                       case "/win32manifest":
+                       case "/link":
+                       case "/moduleassemblyname":
                        case "/nowin32manifest":
+                       case "/pathmap":
+                       case "/pdb":
+                       case "/preferreduilang":
+                       case "/publicsign":
+                       case "/reportanalyzer":
+                       case "/ruleset":
+                       case "/sqmsessionguid":
+                       case "/subsystemversion":
+                       case "/utf8output":
+                       case "/win32manifest":
                                return ParseResult.Success;
 
                        default: