X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Drawing%2FSystem.Drawing%2FBufferedGraphics.cs;h=50921e645f859d334b5cff735c1d6d652f123bb0;hb=fe8bdbcef723fc8c92afcc822aa4c12e34c21c0b;hp=383242b95f281c5cb51571df296d1afdabeec6cb;hpb=669beaed8380fa592533c8755f72593b4422d01d;p=mono.git diff --git a/mcs/class/System.Drawing/System.Drawing/BufferedGraphics.cs b/mcs/class/System.Drawing/System.Drawing/BufferedGraphics.cs index 383242b95f2..50921e645f8 100644 --- a/mcs/class/System.Drawing/System.Drawing/BufferedGraphics.cs +++ b/mcs/class/System.Drawing/System.Drawing/BufferedGraphics.cs @@ -28,10 +28,10 @@ #if NET_2_0 -using System; -using System.Runtime.Serialization; -using System.Runtime.InteropServices; using System.ComponentModel; +using System.Runtime.InteropServices; +using System.Runtime.Serialization; +using System.Security.Permissions; namespace System.Drawing { @@ -106,7 +106,8 @@ namespace System.Drawing target.DrawImage (membmp, size); } - [MonoTODO] + [MonoTODO ("The targetDC parameter has no equivalent in libgdiplus.")] + [SecurityPermission (SecurityAction.Demand, UnmanagedCode = true)] public void Render (IntPtr targetDC) { throw new NotImplementedException (); @@ -115,4 +116,3 @@ namespace System.Drawing } #endif -