* DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
authorJonathan Pryor <jpryor@novell.com>
Thu, 13 Jan 2005 22:00:27 +0000 (22:00 -0000)
committerJonathan Pryor <jpryor@novell.com>
Thu, 13 Jan 2005 22:00:27 +0000 (22:00 -0000)
commitd4bfe426078e7517f5b84362efe96cf54ddb988c
treef2bba03efb790f057a81830052975128b90ab4d8
parentdc247e003e4c68c8c68289f44f28dc4624fb52c5
  * DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
    thread-safe (double-checked locking isn't thread safe on .NET without
    using a volatile variable, and setting the variable in the static
    constructor is easier anyway).
  * Switch.cs (GetConfigFileSetting): If the setting is non-numeric, set the
    attribute value to the string "0".  This is apparently what .NET 1.1 does,
    and allows the SwitchTest NUnit test to work w/o failures.

svn path=/trunk/mcs/; revision=38902
mcs/class/System/System.Diagnostics/ChangeLog
mcs/class/System/System.Diagnostics/DiagnosticsConfigurationHandler.cs
mcs/class/System/System.Diagnostics/Switch.cs