From 8923f2512ac96692ab647580e0b862a4c5ea8596 Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Thu, 11 Dec 2008 20:19:29 +0000 Subject: [PATCH] Disabled the command line parser for now to prevent anyone from using the broken code git-svn-id: file:///srv/devel/repo-conversion/nusu@108 d2e56fa2-650e-0410-a79f-9358c0239efd --- Source/Parsing/CommandLine.Formatter.cs | 4 ++++ Source/Parsing/CommandLine.Option.cs | 4 ++++ Source/Parsing/CommandLine.Parser.cs | 4 ++++ Source/Parsing/CommandLine.Test.cs | 4 ++++ Source/Parsing/CommandLine.cs | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/Source/Parsing/CommandLine.Formatter.cs b/Source/Parsing/CommandLine.Formatter.cs index f4cf1e6..3ee2b06 100644 --- a/Source/Parsing/CommandLine.Formatter.cs +++ b/Source/Parsing/CommandLine.Formatter.cs @@ -21,6 +21,8 @@ License along with this library using System; using System.Collections.Generic; +#if ENABLE_BROKEN_COMMAND_LINE_PARSER + namespace Nuclex.Support.Parsing { partial class CommandLine { @@ -30,3 +32,5 @@ namespace Nuclex.Support.Parsing { } } // namespace Nuclex.Support.Parsing + +#endif // ENABLE_BROKEN_COMMAND_LINE_PARSER diff --git a/Source/Parsing/CommandLine.Option.cs b/Source/Parsing/CommandLine.Option.cs index fc5b56d..2ce552b 100644 --- a/Source/Parsing/CommandLine.Option.cs +++ b/Source/Parsing/CommandLine.Option.cs @@ -22,6 +22,8 @@ using System; using System.Collections.Generic; using System.Diagnostics; +#if ENABLE_BROKEN_COMMAND_LINE_PARSER + namespace Nuclex.Support.Parsing { partial class CommandLine { @@ -133,3 +135,5 @@ namespace Nuclex.Support.Parsing { } } // namespace Nuclex.Support.Parsing + +#endif // ENABLE_BROKEN_COMMAND_LINE_PARSER diff --git a/Source/Parsing/CommandLine.Parser.cs b/Source/Parsing/CommandLine.Parser.cs index c28ef64..e000447 100644 --- a/Source/Parsing/CommandLine.Parser.cs +++ b/Source/Parsing/CommandLine.Parser.cs @@ -23,6 +23,8 @@ using System.Collections.Generic; using System.Diagnostics; using System.IO; +#if ENABLE_BROKEN_COMMAND_LINE_PARSER + namespace Nuclex.Support.Parsing { partial class CommandLine { @@ -378,3 +380,5 @@ namespace Nuclex.Support.Parsing { } } // namespace Nuclex.Support.Parsing + +#endif // ENABLE_BROKEN_COMMAND_LINE_PARSER diff --git a/Source/Parsing/CommandLine.Test.cs b/Source/Parsing/CommandLine.Test.cs index 6b92da2..85d7b49 100644 --- a/Source/Parsing/CommandLine.Test.cs +++ b/Source/Parsing/CommandLine.Test.cs @@ -26,6 +26,8 @@ using System.Text; using NUnit.Framework; +#if ENABLE_BROKEN_COMMAND_LINE_PARSER + namespace Nuclex.Support.Parsing { /// Ensures that the command line parser is working properly @@ -361,4 +363,6 @@ namespace Nuclex.Support.Parsing { } // namespace Nuclex.Support.Parsing +#endif // ENABLE_BROKEN_COMMAND_LINE_PARSER + #endif // UNITTEST \ No newline at end of file diff --git a/Source/Parsing/CommandLine.cs b/Source/Parsing/CommandLine.cs index bdb4aa6..9de769e 100644 --- a/Source/Parsing/CommandLine.cs +++ b/Source/Parsing/CommandLine.cs @@ -24,6 +24,8 @@ using System.IO; using Nuclex.Support.Collections; +#if ENABLE_BROKEN_COMMAND_LINE_PARSER + namespace Nuclex.Support.Parsing { /// @@ -152,3 +154,5 @@ namespace Nuclex.Support.Parsing { } } // namespace Nuclex.Support.Parsing + +#endif // ENABLE_BROKEN_COMMAND_LINE_PARSER