New test.
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / Csc.cs
index 61ffd44f9f1ba647557820c73af23e0d47e409c4..2b334d88d811a4a3bcd1adf93cf78782a65455b8 100644 (file)
@@ -40,6 +40,7 @@ namespace Microsoft.Build.Tasks {
                {
                }
 
+               [MonoTODO]
                protected internal override void AddResponseFileCommands (CommandLineBuilderExtension commandLine)
                {
                        base.AddResponseFileCommands (commandLine);
@@ -61,9 +62,10 @@ namespace Microsoft.Build.Tasks {
                        //warningNotAsErrors
                }
 
+               [MonoTODO]
                protected override bool CallHostObjectToExecute ()
                {
-                       return true;
+                       throw new NotImplementedException ();
                }
 
                protected override string GenerateFullPathToTool ()
@@ -71,12 +73,10 @@ namespace Microsoft.Build.Tasks {
                        return Path.Combine (ToolPath, ToolName);
                }
 
-               protected override bool InitializeHostObject (out bool appropriateHostObjectExists,
-                                                             out bool continueBuild)
+               [MonoTODO]
+               protected override HostObjectInitializationStatus InitializeHostObject ()
                {
-                       appropriateHostObjectExists = true;
-                       continueBuild = true;
-                       return true;
+                       return HostObjectInitializationStatus.NoActionReturnSuccess;
                }
 
                public bool AllowUnsafeBlocks {
@@ -89,9 +89,9 @@ namespace Microsoft.Build.Tasks {
                        set { Bag ["BaseAddress"] = value; }
                }
 
-               public bool CheckForOverflowUnderFlow {
-                       get { return GetBoolParameterWithDefault ("CheckForOverflowUnderFlow", false); }
-                       set { Bag ["CheckForOverflowUnderFlow"] = value; }
+               public bool CheckForOverflowUnderflow {
+                       get { return GetBoolParameterWithDefault ("CheckForOverflowUnderflow", false); }
+                       set { Bag ["CheckForOverflowUnderflow"] = value; }
                }
 
                public string DisabledWarnings {
@@ -128,6 +128,11 @@ namespace Microsoft.Build.Tasks {
                        get { return GetBoolParameterWithDefault ("NoStandardLib", false); }
                        set { Bag ["NoStandardLib"] = value; }
                }
+               
+               public string PdbFile {
+                       get { return (string) Bag ["PdbFile"]; }
+                       set { Bag ["PdbFile"] = value; }
+               }
 
                public string Platform {
                        get { return (string) Bag ["Platform"]; }
@@ -135,7 +140,7 @@ namespace Microsoft.Build.Tasks {
                }
 
                protected override string ToolName {
-                       get { return "mcs"; }
+                       get { return "gmcs"; }
                }
 
                public bool UseHostCompilerIfAvailable {
@@ -160,4 +165,4 @@ namespace Microsoft.Build.Tasks {
        }
 }
 
-#endif
\ No newline at end of file
+#endif