Merge pull request #2765 from akoeplinger/mcs-fix-test-windows-backslash
[mono.git] / mcs / class / corlib / System.Security / PermissionSetCollection.cs
index 09f14b1245a7317e9efef1e4938b9d73445d9acf..c13c1efef77cffd8a1a2ba48bc5d61622b8ffef2 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System.Collections;
+using System.Runtime.InteropServices;
 using System.Security.Permissions;
 
 namespace System.Security {
 
        [Serializable]
+       [ComVisible (true)]
+       [Obsolete ("seems the *Choice actions won't survive")]
        public sealed class PermissionSetCollection : ICollection, IEnumerable {
 
                private static string tagName = "PermissionSetCollection";
@@ -56,7 +57,6 @@ namespace System.Security {
 
                public IList PermissionSets {
                        get { return _list; }
-                       set { _list = value; }
                }
 
                public object SyncRoot {
@@ -215,4 +215,3 @@ namespace System.Security {
        }
 }
 
-#endif