Remove CAS attributes from System.Drawing (#4544)
[mono.git] / mcs / class / System.Drawing / System.Drawing / Icon.cs
index f2da71b31413b95ec10dd0ef0bebf50a7ed5f12b..8352f15c6703c8e6acc3e36bb095edc030b11798 100644 (file)
@@ -38,7 +38,6 @@ using System.Drawing.Imaging;
 using System.IO;
 using System.Runtime.Serialization;
 using System.Runtime.InteropServices;
-using System.Security.Permissions;
 
 namespace System.Drawing
 {
@@ -338,7 +337,6 @@ namespace System.Drawing
                }
                
 #if !MONOTOUCH
-               [SecurityPermission (SecurityAction.LinkDemand, UnmanagedCode = true)]
                public static Icon FromHandle (IntPtr handle)
                {
                        if (handle == IntPtr.Zero)