Prechádzať zdrojové kódy

2005-06-18 Sebastien Pouliot <[email protected]>

	* IdentityReference.cs: Constructor is internal (which means it the
	class cannot be inherited outside corlib).


svn path=/trunk/mcs/; revision=46188
Sebastien Pouliot 20 rokov pred
rodič
commit
2bbc1e2dab

+ 5 - 0
mcs/class/corlib/System.Security.Principal/ChangeLog

@@ -1,3 +1,8 @@
+2005-06-18  Sebastien Pouliot  <[email protected]>
+
+	* IdentityReference.cs: Constructor is internal (which means it the
+	class cannot be inherited outside corlib).
+
 2005-06-17  Sebastien Pouliot  <[email protected]>
 
 	* IdentityNotMappedException.cs: New (2.0). Identity exception.

+ 3 - 1
mcs/class/corlib/System.Security.Principal/IdentityReference.cs

@@ -36,7 +36,9 @@ namespace System.Security.Principal {
 	[ComVisible (false)]
 	public abstract class IdentityReference {
 
-		protected IdentityReference ()
+		// yep, this means it cannot be inherited outside corlib
+		// not sure if this is "by design" reported as FDBK30180
+		internal IdentityReference ()
 		{
 		}