diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2007-09-21 16:37:04 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2007-09-21 16:37:04 +0400 |
commit | cbad6d566a2e90cef85ead77e1e79802882890ad (patch) | |
tree | 4907ce235bbc6d2cc3a6470d80cf956824b88b40 /mcs/class/System/System.Diagnostics/ChangeLog | |
parent | fa90295c1a6c2ea05c3d15002614b0c5e3d7ee33 (diff) |
* DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue
to GetSwitchValue. On 2.0 profile, leave the type conversion to
Switch implementations. Minor corrections to exception messages to
match MS.
* Switch.cs: Avoid unnecessary inits. On 2.0 profile, catch and
rethrow exceptions in setter for Value. Do not hide exceptions thrown
in GetConfigFileSetting. Only set value from config file if switch is
actually defined.
* SourceSwitch.cs: Use SwitchSetting for getting/storing value instead
of new field. In OnValueChanged, parse enum value.
* TraceSwitch.cs: If SwitchSetting is changed to value > 4, then set
it to Verbose. In OnValueChanged, parse value case-insensitively, and
assign it to SwitchSetting (to allow other integral values).
svn path=/trunk/mcs/; revision=86141
Diffstat (limited to 'mcs/class/System/System.Diagnostics/ChangeLog')
-rw-r--r-- | mcs/class/System/System.Diagnostics/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/ChangeLog b/mcs/class/System/System.Diagnostics/ChangeLog index 9be52aa7706..a3297001c55 100644 --- a/mcs/class/System/System.Diagnostics/ChangeLog +++ b/mcs/class/System/System.Diagnostics/ChangeLog @@ -1,3 +1,19 @@ +2007-09-21 Gert Driesen <drieseng@users.sourceforge.net> + + * DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue + to GetSwitchValue. On 2.0 profile, leave the type conversion to + Switch implementations. Minor corrections to exception messages to + match MS. + * Switch.cs: Avoid unnecessary inits. On 2.0 profile, catch and + rethrow exceptions in setter for Value. Do not hide exceptions thrown + in GetConfigFileSetting. Only set value from config file if switch is + actually defined. + * SourceSwitch.cs: Use SwitchSetting for getting/storing value instead + of new field. In OnValueChanged, parse enum value. + * TraceSwitch.cs: If SwitchSetting is changed to value > 4, then set + it to Verbose. In OnValueChanged, parse value case-insensitively, and + assign it to SwitchSetting (to allow other integral values). + 2007-09-05 Atsushi Enomoto <atsushi@ximian.com> * EventLog.cs : added cosmetic 2.0 attributes on newly added members. |