projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* BuildEngine.cs (BuildProjectFile): Use AddProperty method to specify
[mono.git]
/
mcs
/
class
/
Microsoft.Build.Tasks
/
Microsoft.Build.Tasks
/
Delete.cs
diff --git
a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Delete.cs
b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Delete.cs
index 291ea93f60fdcab9a3c38fce9c587c706877e873..c53360f0f888155893bcb72285ce10f0e93e496b 100644
(file)
--- a/
mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Delete.cs
+++ b/
mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Delete.cs
@@
-36,13
+36,13
@@
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks {
public sealed class Delete : TaskExtension {
namespace Microsoft.Build.Tasks {
public sealed class Delete : TaskExtension {
- ITaskItem
[]
deletedFiles;
- ITaskItem
[]
files;
+ ITaskItem
[]
deletedFiles;
+ ITaskItem
[]
files;
bool treatErrorsAsWarnings;
public Delete ()
{
bool treatErrorsAsWarnings;
public Delete ()
{
- t
his.t
reatErrorsAsWarnings = false;
+ treatErrorsAsWarnings = false;
}
public override bool Execute ()
}
public override bool Execute ()
@@
-85,43
+85,31
@@
namespace Microsoft.Build.Tasks {
return true;
}
return true;
}
-
private
void LogException (Exception ex)
+ void LogException (Exception ex)
{
{
- if (treatErrorsAsWarnings
== true
)
+ if (treatErrorsAsWarnings)
Log.LogWarningFromException (ex);
else
Log.LogErrorFromException (ex);
}
[Output]
Log.LogWarningFromException (ex);
else
Log.LogErrorFromException (ex);
}
[Output]
- public ITaskItem[] DeletedFiles {
- get {
- return deletedFiles;
- }
- set {
- deletedFiles = value;
- }
+ public ITaskItem [] DeletedFiles {
+ get { return deletedFiles; }
+ set { deletedFiles = value; }
}
[Required]
}
[Required]
- public ITaskItem[] Files {
- get {
- return files;
- }
- set {
- files = value;
- }
+ public ITaskItem [] Files {
+ get { return files; }
+ set { files = value; }
}
public bool TreatErrorsAsWarnings {
}
public bool TreatErrorsAsWarnings {
- get {
- return treatErrorsAsWarnings;
- }
- set {
- treatErrorsAsWarnings = value;
- }
+ get { return treatErrorsAsWarnings; }
+ set { treatErrorsAsWarnings = value; }
}
}
}
}
}
}
-#endif
\ No newline at end of file
+#endif