Author: spouliot
Date: 2006-05-30 11:56:12 -0400 (Tue, 30 May 2006)
New Revision: 61263
Modified:
trunk/mcs/class/corlib/System.Security.Policy/ChangeLog
trunk/mcs/class/corlib/System.Security.Policy/CodeGroup.cs
Log:
2006-05-30 Sebastien Pouliot <[EMAIL PROTECTED]>
* CodeGroup.cs: Under 2.0 the ctor is protected (not public).
Modified: trunk/mcs/class/corlib/System.Security.Policy/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Security.Policy/ChangeLog 2006-05-30
15:43:16 UTC (rev 61262)
+++ trunk/mcs/class/corlib/System.Security.Policy/ChangeLog 2006-05-30
15:56:12 UTC (rev 61263)
@@ -1,3 +1,7 @@
+2006-05-30 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * CodeGroup.cs: Under 2.0 the ctor is protected (not public).
+
2006-01-05 Sebastien Pouliot <[EMAIL PROTECTED]>
* Evidence.cs: Use EscapedCodeBase instead of CodeBase. Fix nunit
Modified: trunk/mcs/class/corlib/System.Security.Policy/CodeGroup.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Policy/CodeGroup.cs 2006-05-30
15:43:16 UTC (rev 61262)
+++ trunk/mcs/class/corlib/System.Security.Policy/CodeGroup.cs 2006-05-30
15:56:12 UTC (rev 61263)
@@ -6,7 +6,7 @@
// Sebastien Pouliot <[EMAIL PROTECTED]>
//
// (C) 2001 Nick Drochak, All rights reserved.
-// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2006 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
@@ -48,7 +48,11 @@
ArrayList m_children = new ArrayList();
PolicyLevel m_level;
+#if NET_2_0
+ protected CodeGroup (IMembershipCondition membershipCondition,
PolicyStatement policy)
+#else
public CodeGroup (IMembershipCondition membershipCondition,
PolicyStatement policy)
+#endif
{
if (null == membershipCondition)
throw new ArgumentNullException
("membershipCondition");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches