[Profiler] Use the correct function to increment the refcount
[mono.git] / mcs / mcs / settings.cs
index 13abbd67c67425faf5f9b3701068ea4c9a2aefc2..16a67f4cbd9cb446147670c989887cef81f56c17 100644 (file)
@@ -1210,6 +1210,16 @@ namespace Mono.CSharp {
                                settings.RuntimeMetadataVersion = value;
                                return ParseResult.Success;
 
+                       // csc options that we don't support
+                       case "/utf8output":
+                       case "/subsystemversion":
+                       case "/highentropyva":
+                       case "/highentropyva+":
+                       case "/highentropyva-":
+                       case "/win32manifest":
+                       case "/nowin32manifest":
+                               return ParseResult.Success;
+
                        default:
                                return ParseResult.UnknownOption;
                        }