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:
authorSebastien Pouliot <sebastien@ximian.com>2005-10-18 00:15:26 +0400
committerSebastien Pouliot <sebastien@ximian.com>2005-10-18 00:15:26 +0400
commit8d68b0d6639fd4a09bfc1fd1d37db3752a540042 (patch)
treec2a9776726db1ab424d565139122d11717b751cc /mcs/class/System/Microsoft.Win32
parenta4c049eb2217fb63d763181b7a1280b2190ebe31 (diff)
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* SessionSwitchReason.cs: Fixed start value of enum (no 0 item). * TimerElapsedEventArgs.cs: Removed [ComVisible (false)] attribute. svn path=/trunk/mcs/; revision=51824
Diffstat (limited to 'mcs/class/System/Microsoft.Win32')
-rw-r--r--mcs/class/System/Microsoft.Win32/ChangeLog5
-rw-r--r--mcs/class/System/Microsoft.Win32/SessionSwitchReason.cs2
-rw-r--r--mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs4
3 files changed, 6 insertions, 5 deletions
diff --git a/mcs/class/System/Microsoft.Win32/ChangeLog b/mcs/class/System/Microsoft.Win32/ChangeLog
index 411cc6452a7..5eda58ef653 100644
--- a/mcs/class/System/Microsoft.Win32/ChangeLog
+++ b/mcs/class/System/Microsoft.Win32/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
+
+ * SessionSwitchReason.cs: Fixed start value of enum (no 0 item).
+ * TimerElapsedEventArgs.cs: Removed [ComVisible (false)] attribute.
+
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* PowerModeChangedEventArgs.cs: Added a LinkDemand and an
diff --git a/mcs/class/System/Microsoft.Win32/SessionSwitchReason.cs b/mcs/class/System/Microsoft.Win32/SessionSwitchReason.cs
index a6888453fdd..31c13d61b9e 100644
--- a/mcs/class/System/Microsoft.Win32/SessionSwitchReason.cs
+++ b/mcs/class/System/Microsoft.Win32/SessionSwitchReason.cs
@@ -31,7 +31,7 @@
namespace Microsoft.Win32 {
public enum SessionSwitchReason {
- ConsoleConnect,
+ ConsoleConnect = 1,
ConsoleDisconnect,
RemoteConnect,
RemoteDisconnect,
diff --git a/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs b/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs
index 898c1bed223..f6e90345395 100644
--- a/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs
+++ b/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs
@@ -28,16 +28,12 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-using System.Runtime.InteropServices;
using System.Security.Permissions;
namespace Microsoft.Win32 {
- // CAS
[PermissionSet (SecurityAction.LinkDemand, Unrestricted = true)]
[PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)]
- // attributes
- [ComVisible(false)]
public class TimerElapsedEventArgs : System.EventArgs
{
System.IntPtr mytimerId;