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:
Diffstat (limited to 'mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs')
-rw-r--r--mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs b/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs
index 099d9d24880..898c1bed223 100644
--- a/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs
+++ b/mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs
@@ -6,8 +6,7 @@
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
//
// (C) 2002 Johannes Roith
-//
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -30,9 +29,14 @@
//
using System.Runtime.InteropServices;
+using System.Security.Permissions;
+
+namespace Microsoft.Win32 {
-namespace Microsoft.Win32
-{
+ // CAS
+ [PermissionSet (SecurityAction.LinkDemand, Unrestricted = true)]
+ [PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)]
+ // attributes
[ComVisible(false)]
public class TimerElapsedEventArgs : System.EventArgs
{