2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
[mono.git] / mcs / class / corlib / System.Security.Policy / PermissionRequestEvidence.cs
old mode 100755 (executable)
new mode 100644 (file)
index 24d1a6e..992811a
@@ -6,7 +6,7 @@
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //\r
 // (C) 2003 Nick Drochak\r
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-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
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+
+using System.Runtime.InteropServices;
 \r
 namespace System.Security.Policy {
 \r
        [Serializable]\r
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public sealed class PermissionRequestEvidence : IBuiltInEvidence {
 \r
                private PermissionSet requested, optional, denied;\r
@@ -87,7 +92,6 @@ namespace System.Security.Policy {
 \r
                // interface IBuiltInEvidence\r
 \r
-               [MonoTODO]\r
                int IBuiltInEvidence.GetRequiredSize (bool verbose) \r
                {
                        int size = verbose ? 3 : 1;
@@ -106,13 +110,13 @@ namespace System.Security.Policy {
                        return size;\r
                }\r
 \r
-               [MonoTODO]\r
+               [MonoTODO ("IBuiltInEvidence")]\r
                int IBuiltInEvidence.InitFromBuffer (char [] buffer, int position) \r
                {\r
                        return 0;\r
                }\r
 \r
-               [MonoTODO]\r
+               [MonoTODO ("IBuiltInEvidence")]\r
                int IBuiltInEvidence.OutputToBuffer (char [] buffer, int position, bool verbose) \r
                {\r
                        return 0;\r