Merge pull request #439 from mono-soc-2012/garyb/iconfix
[mono.git] / mcs / class / System / Microsoft.Win32 / SystemEvents.cs
index fc6d6154cb0a931657a3e63c0d04687e17321de5..92f4e4e9fa9931a0595556d9c111a0e71ad6df09 100644 (file)
@@ -35,8 +35,8 @@ using System.ComponentModel;
 using System.Security.Permissions;
 using System.Timers;
 
-namespace Microsoft.Win32 {\r
-\r
+namespace Microsoft.Win32 {
+
        [PermissionSet (SecurityAction.LinkDemand, Unrestricted = true)]
        public sealed class SystemEvents 
        {
@@ -75,87 +75,82 @@ namespace Microsoft.Win32 {
                        if (TimerElapsed != null)
                                TimerElapsed (null, new TimerElapsedEventArgs (IntPtr.Zero));
                }
-\r
+
                [MonoTODO]
                public static void InvokeOnEventsThread(Delegate method)
                {
                        throw new System.NotImplementedException ();
                }
-\r
+
                [MonoTODO]
                public static event System.EventHandler DisplaySettingsChanged 
                {
                        add     { }
                        remove  { }
                }
-#if NET_2_0
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event EventHandler DisplaySettingsChanging {
                        add {  }
                        remove { }
                }
-#endif
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event System.EventHandler EventsThreadShutdown 
                {
                        add     { }
                        remove  { }
                }
 
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event System.EventHandler InstalledFontsChanged 
                {
                        add     { }
                        remove  { }
                }
 
-               [MonoTODO]
-#if NET_2_0
+               [MonoTODO("Currently does nothing on Mono")]
                [Browsable (false)]
                [EditorBrowsable (EditorBrowsableState.Never)]
                [Obsolete ("")]
-#endif
                public static event System.EventHandler LowMemory 
                {
                        add     { }
                        remove  { }
                }
 
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event System.EventHandler PaletteChanged 
                {
                        add     { }
                        remove  { }
                }
 
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event PowerModeChangedEventHandler PowerModeChanged 
                {
                        add     { }
                        remove  { }
                }
 
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event SessionEndedEventHandler SessionEnded 
                {
                        add     { }
                        remove  { }
                }
 
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event SessionEndingEventHandler SessionEnding 
                {
                        add     { }
                        remove  { }
                }
-#if NET_2_0
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event SessionSwitchEventHandler SessionSwitch {
                        add    { }
                        remove { }
                }
-#endif
-               [MonoTODO]
+
+               [MonoTODO("Currently does nothing on Mono")]
                public static event System.EventHandler TimeChanged 
                {
                        add     { }
@@ -164,18 +159,18 @@ namespace Microsoft.Win32 {
 
                public static event TimerElapsedEventHandler TimerElapsed;
 
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event UserPreferenceChangedEventHandler UserPreferenceChanged 
                {
                        add     { }
                        remove  { }
                }
 
-               [MonoTODO]
+               [MonoTODO("Currently does nothing on Mono")]
                public static event UserPreferenceChangingEventHandler UserPreferenceChanging 
                {
                        add     { }
                        remove  { }
                }
        }
-}\r
+}