2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 8 Jun 2005 11:29:29 +0000 (11:29 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 8 Jun 2005 11:29:29 +0000 (11:29 -0000)
* AllowPartiallyTrustedCallersAttribute.cs, HostSecurityManagerFlags.cs
IEvidenceFactory.cs, IPermission.cs, ISecurityEncodable.cs,
ISecurityPolicyEncodable.cs, IStackWalk.cs, NamedPermissionSet.cs,
PolicyLevelType.cs, SecureString.cs, SecurityElement.cs,
SecurityZone.cs, UnverifiableCodeAttribute.cs, VerificationException.cs
XmlSyntaxException.cs: Fix 2.0 beta2 API changes (which is mostly
adding ComVisible attributes to classes).

svn path=/trunk/mcs/; revision=45630

16 files changed:
mcs/class/corlib/System.Security/AllowPartiallyTrustedCallersAttribute.cs
mcs/class/corlib/System.Security/ChangeLog
mcs/class/corlib/System.Security/HostSecurityManagerFlags.cs
mcs/class/corlib/System.Security/IEvidenceFactory.cs
mcs/class/corlib/System.Security/IPermission.cs
mcs/class/corlib/System.Security/ISecurityEncodable.cs
mcs/class/corlib/System.Security/ISecurityPolicyEncodable.cs
mcs/class/corlib/System.Security/IStackWalk.cs
mcs/class/corlib/System.Security/NamedPermissionSet.cs
mcs/class/corlib/System.Security/PolicyLevelType.cs
mcs/class/corlib/System.Security/SecureString.cs
mcs/class/corlib/System.Security/SecurityElement.cs
mcs/class/corlib/System.Security/SecurityZone.cs
mcs/class/corlib/System.Security/UnverifiableCodeAttribute.cs
mcs/class/corlib/System.Security/VerificationException.cs
mcs/class/corlib/System.Security/XmlSyntaxException.cs

index 19c6f4509fce485ea811ae66a632fe3b47c42e56..f372bd7d57c835293fe012ede0cfeda0e1edf98b 100644 (file)
@@ -2,7 +2,7 @@
 // System.Security.AllowPartiallyTrustedCallersAttribute implementation
 //
 // Author:
-//     Sebastien Pouliot (spouliot@motus.com)
+//     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // (C) 2003, 2004 Motus Technologies Inc. (http://www.motus.com)
 // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
        public sealed class AllowPartiallyTrustedCallersAttribute : Attribute {
 
index 4df639320fbb40bb09c3d8df9568d08224153838..e91240e20de5c1fecbc5b0562d221e91c37ff2b7 100755 (executable)
@@ -1,3 +1,13 @@
+2005-06-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AllowPartiallyTrustedCallersAttribute.cs, HostSecurityManagerFlags.cs
+       IEvidenceFactory.cs, IPermission.cs, ISecurityEncodable.cs,
+       ISecurityPolicyEncodable.cs, IStackWalk.cs, NamedPermissionSet.cs,
+       PolicyLevelType.cs, SecureString.cs, SecurityElement.cs, 
+       SecurityZone.cs, UnverifiableCodeAttribute.cs, VerificationException.cs
+       XmlSyntaxException.cs: Fix 2.0 beta2 API changes (which is mostly 
+       adding ComVisible attributes to classes).
+
 2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>
 
        * PermissionBuilder.cs: Removed unification stuff. This is done at a 
index 40eaf18a3940f593918058295909e3af06ff1803..2da516f77d9e3e7a7f877d386a16201673ce3d3f 100644 (file)
 
 #if NET_2_0
 
+using System.Runtime.InteropServices;
+
 namespace System.Security {
 
        [Flags]
+       [ComVisible (true)]
        [Serializable]
        public enum HostSecurityManagerOptions {
                None = 0,
index 7a9aaa17017c665fe61c2ab6d7741eb38f9aa30f..0e988aa987d2336fe9bc782fbe6eb7fa1b7746aa 100644 (file)
@@ -3,32 +3,7 @@
 // Sean MacIsaac (macisaac@ximian.com)
 //
 // (C) Ximian, Inc. 2001
-
-//
-// Copyright (C) 2004 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
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-//
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
 using System.Security.Policy;
 
-namespace System.Security
-{
-       public interface IEvidenceFactory
-       {
+namespace System.Security {
+
+#if NET_2_0
+       [ComVisible (true)]
+#endif
+       public interface IEvidenceFactory {
                Evidence Evidence { get; }
        }
 }
index 4c015c25c0e569e716bff34242c0fe124c98e899..a01c4d137322e435a71ff0509a80ff806646a6f4 100644 (file)
@@ -5,10 +5,7 @@
 //   Miguel de Icaza (miguel@ximian.com)
 //
 // (C) Ximian, Inc. http://www.ximian.com
-//
-
-//
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-//
-// Copyright (C) 2004 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
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// 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;
 
 namespace System.Security {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public interface IPermission : ISecurityEncodable {
 
                IPermission Copy ();
index 1faade32eaf4e8ae8575f4f8058f10e6eb9b94e8..238524a159f4c46a01ec5a506ec87f3b63e5e688 100644 (file)
@@ -5,10 +5,7 @@
 //   Miguel de Icaza (miguel@ximian.com)
 //
 // (C) Ximian, Inc. http://www.ximian.com
-//
-
-//
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-//
-// Copyright (C) 2004 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
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// 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;
 
 namespace System.Security {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public interface ISecurityEncodable {
 
                void FromXml (SecurityElement e);
index 721abb48bd9cd7abbcfad21c1c88eedc3df678be..13582e8754c38ee387d4c0e0ad3cbaed2db2522d 100644 (file)
@@ -5,33 +5,7 @@
 //   Nick Drochak(ndrochak@gol.com)
 //
 // (C) Nick Drochak
-//
-
-//
-// Copyright (C) 2004 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
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-//
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
 using System.Security.Policy;
 
 namespace System.Security {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public interface ISecurityPolicyEncodable {
 
                void FromXml (SecurityElement e, PolicyLevel level);
index 6dd7f95cf3016492e9bda676e491dde84963ba9c..38a7ecdd0d55c0564051fffa7d43af03c1a385fe 100644 (file)
@@ -5,10 +5,7 @@
 //   Miguel de Icaza (miguel@ximian.com)
 //
 // (C) Ximian, Inc. http://www.ximian.com
-//
-
-//
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-//
-// Copyright (C) 2004 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
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// 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;
 
 namespace System.Security {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public interface IStackWalk {
 
                void Assert ();
index 16858199e2444f114f74a93e3eda126c4db9bd38..338afdc7a41880eed6d0f31ae03c337a1ff877cd 100644 (file)
@@ -7,7 +7,7 @@
 //
 // (C) 2002
 // Portions (C) 2003, 2004 Motus Technologies Inc. (http://www.motus.com)
-// 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
@@ -33,7 +33,10 @@ using System.Runtime.InteropServices;
 using System.Security.Permissions;
 
 namespace System.Security {
-       
+
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [Serializable]
        public sealed class NamedPermissionSet : PermissionSet {
 
index c3b56a6fdde7e0c5726460dd513ee7b9e2b4617b..749c6e0ea9c280e54b6f20b83eb831648a95c9b9 100644 (file)
@@ -5,7 +5,7 @@
 //   Nick Drochak(ndrochak@gol.com)
 //
 // (C) Nick Drochak
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security {
 
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum PolicyLevelType {
                User = 0x0,
                Machine,
index 8218852b014d1fa56a45964ba126476ef0956af2..bafbd2d8fc971e81f5a641542fecca8a5dffed01 100644 (file)
@@ -4,7 +4,7 @@
 // Authors
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
-// 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
@@ -28,7 +28,6 @@
 
 #if NET_2_0
 
-using System;
 using System.Globalization;
 using System.Runtime.InteropServices;
 using System.Runtime.ConstrainedExecution;
@@ -40,7 +39,6 @@ using Mono.Security.Cryptography;
 namespace System.Security {
 
        [MonoTODO ("current version ISN'T encrypted")]
-       [ComVisible (false)]
        public sealed class SecureString : CriticalFinalizerObject, IDisposable {
 
                static private SymmetricAlgorithm _cipher;
@@ -81,11 +79,6 @@ namespace System.Security {
                        Encrypt ();
                }
 
-               ~SecureString ()
-               {
-                       Dispose ();
-               }
-
                // properties
 
                public int Length {
index ddc8aad35cfb849d9cf8a65f89ebd7b0bc84f167..c1be6f1eb117b1221a53f3cae198c957404cba1b 100644 (file)
@@ -7,7 +7,7 @@
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // (C) Ximian, Inc. http://www.ximian.com
-// 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
@@ -36,8 +36,11 @@ using System.Text;
 
 using Mono.Xml;
 
-namespace System.Security 
-{
+namespace System.Security {
+
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [Serializable]
        public sealed class SecurityElement 
        {
index ccc04948f2dda85473109ce0fea2338eb40a9738..55894d2b3841aaca1b2494f2b6e2e9c154fa71d0 100644 (file)
@@ -5,10 +5,7 @@
 //   Nick Drochak(ndrochak@gol.com)
 //
 // (C) Nick Drochak
-//
-
-//
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-//
-// Copyright (C) 2004 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
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// 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;
 
 namespace System.Security {
 
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum SecurityZone {
                MyComputer = 0x0,
                Intranet,
index b3dd4f0fc03edd50316a9d718c37991b38a3f278..915173322fc7f9710ab7a792da7ed418c69f5a07 100644 (file)
@@ -5,10 +5,7 @@
 //   Nick Drochak(ndrochak@gol.com)
 //
 // (C) Nick Drochak
-//
-
-//
-// 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
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-//
-// Copyright (C) 2004 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
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// 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;
 
 namespace System.Security {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [AttributeUsage (AttributeTargets.Module, AllowMultiple=true, Inherited=false)]
-       public sealed class UnverifiableCodeAttribute : Attribute {}
+       public sealed class UnverifiableCodeAttribute : Attribute {
+       }
 }
index 1a2bc1afa3d2390930d0af0efb9a6634e6d463d8..09e7ee5019d11d45a9550da7670aa774a7331e16 100644 (file)
@@ -5,7 +5,7 @@
 //   Nick Drochak(ndrochak@gol.com)
 //
 // (C) Nick Drochak
-// 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
@@ -35,10 +35,9 @@ namespace System.Security {
 
        [Serializable]
 #if NET_2_0
-       public class VerificationException : SystemException, _Exception {
-#else
-       public class VerificationException : SystemException {
+       [ComVisible (true)]
 #endif
+       public class VerificationException : SystemException {
        
                // Constructors
                public VerificationException ()
index bac141c5ab4e46cf629c11d2ea9af52fe47b8e34..e3a3845cd73dd3963652fadcf6337ab622628530 100644 (file)
@@ -5,7 +5,7 @@
 //   Nick Drochak(ndrochak@gol.com)
 //
 // (C) Nick Drochak
-// 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
@@ -35,10 +35,10 @@ namespace System.Security {
 
        [Serializable]
 #if NET_2_0
-       public sealed class XmlSyntaxException : SystemException, _Exception {
-#else
-       public sealed class XmlSyntaxException : SystemException {
+       [ComVisible (true)]
 #endif
+       public sealed class XmlSyntaxException : SystemException {
+
                // Constructors
                public XmlSyntaxException ()
                {