Merge pull request #631 from kebby/master
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / ManagedCompiler.cs
index a2c0cfb3904dfa7f48fa18a14196085982cad3f9..461f2f6c648c641961b33bde4cb3fdc0ea8a6d4a 100644 (file)
@@ -59,12 +59,7 @@ namespace Microsoft.Build.Tasks {
                        if (Bag ["CodePage"] != null)
                                commandLine.AppendSwitchIfNotNull ("/codepage:", CodePage.ToString ());
 
-                       if (!String.IsNullOrEmpty (DebugType) &&
-                               String.Compare (DebugType, "pdbonly", true) == 0)
-                               // *mcs doesn't support "pdbonly", map it to "full"
-                               commandLine.AppendSwitch ("/debug:full");
-                       else
-                               commandLine.AppendSwitchIfNotNull ("/debug:", DebugType);
+                       commandLine.AppendSwitchIfNotNull ("/debug:", DebugType);
 
                        if (Bag ["DelaySign"] != null)
                                if (DelaySign)