Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Driesen <drieseng@users.sourceforge.net>2007-09-22 21:54:03 +0400
committerGert Driesen <drieseng@users.sourceforge.net>2007-09-22 21:54:03 +0400
commitd476d382cb1de3337715c9ebdd7f4adfa5ae8172 (patch)
tree7948ce56e46d9e9e7e917d7e077206a0d544b1ae /mcs/class/System/System.Diagnostics/BooleanSwitch.cs
parent6b10903f70962058c04d977c897f818c6473f19d (diff)
* DiagnosticsConfigurationHandlerTest.cs: No longer derive from
deprecated Assertion class. Code formatting. On 2.0 profile, allow non-integral values for switches. * BooleanSwitch.cs: Use base ctor for default value. * Switch.cs: On 2.0 profile, store default value and use it if no value is set in config file. * SourceSwitch.cs: Use null to signal that there's no default value. svn path=/trunk/mcs/; revision=86220
Diffstat (limited to 'mcs/class/System/System.Diagnostics/BooleanSwitch.cs')
-rw-r--r--mcs/class/System/System.Diagnostics/BooleanSwitch.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mcs/class/System/System.Diagnostics/BooleanSwitch.cs b/mcs/class/System/System.Diagnostics/BooleanSwitch.cs
index 13b27c3e8b7..30c7614775f 100644
--- a/mcs/class/System/System.Diagnostics/BooleanSwitch.cs
+++ b/mcs/class/System/System.Diagnostics/BooleanSwitch.cs
@@ -54,9 +54,8 @@ namespace System.Diagnostics
/// Initializes a new instance
/// </summary>
public BooleanSwitch(string displayName, string description, string defaultSwitchValue)
- : base(displayName, description)
+ : base(displayName, description, defaultSwitchValue)
{
- Value = defaultSwitchValue;
}
#endif