[Mono-list] mcs now checks access levels

Piers Haken piersh@friskit.com
Sun, 2 Feb 2003 17:04:15 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2CB20.2BCFB0FE
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

this totally breaks linux corlib builds for me. i get a whole ton of
errors like this:

error CS0122: `System.Object[]' is inaccessible because of its
protection level
error CS0122: `System.Attribute[]' is inaccessible because of its
protection level
error CS0122: `System.Attribute[]' is inaccessible because of its
protection level
error CS0122: `System.Attribute[]' is inaccessible because of its
protection level
error CS0122: `System.Attribute[]' is inaccessible because of its
protection level
error CS0122: `System.Attribute[]' is inaccessible because of its
protection level
error CS0122: `System.Attribute[]' is inaccessible because of its
protection level
error CS0122: `System.Attribute[]' is inaccessible because of its
protection level

Piers.

-----Original Message-----
From: Jackson Harper [mailto:jrhwork@hotmail.com]
Sent: Saturday, February 01, 2003 10:44 AM
To: mono-list@ximian.com
Subject: [Mono-list] mcs now checks access levels



Hello,

Just a little heads up. mcs now checks the the access levels of
referenced=20
types so you can no longer reference private or internal types from an=20
external assembly. Internal is the default access level for a type so if
you=20
have a type with no access level specified and you are referencing it
from=20
an external assembly you will now get this error: "<typename> is=20
inaccessible because of its protection level"


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* =20
http://join.msn.com/?page=3Dfeatures/junkmail

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

------_=_NextPart_001_01C2CB20.2BCFB0FE
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.4417.0">
<TITLE>RE: [Mono-list] mcs now checks access levels</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>this totally breaks linux corlib builds for me. i get =
a whole ton of errors like this:</FONT>
</P>

<P><FONT SIZE=3D2>error CS0122: `System.Object[]' is inaccessible =
because of its protection level</FONT>

<BR><FONT SIZE=3D2>error CS0122: `System.Attribute[]' is inaccessible =
because of its protection level</FONT>

<BR><FONT SIZE=3D2>error CS0122: `System.Attribute[]' is inaccessible =
because of its protection level</FONT>

<BR><FONT SIZE=3D2>error CS0122: `System.Attribute[]' is inaccessible =
because of its protection level</FONT>

<BR><FONT SIZE=3D2>error CS0122: `System.Attribute[]' is inaccessible =
because of its protection level</FONT>

<BR><FONT SIZE=3D2>error CS0122: `System.Attribute[]' is inaccessible =
because of its protection level</FONT>

<BR><FONT SIZE=3D2>error CS0122: `System.Attribute[]' is inaccessible =
because of its protection level</FONT>

<BR><FONT SIZE=3D2>error CS0122: `System.Attribute[]' is inaccessible =
because of its protection level</FONT>
</P>

<P><FONT SIZE=3D2>Piers.</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>

<BR><FONT SIZE=3D2>From: Jackson Harper [<A =
HREF=3D"mailto:jrhwork@hotmail.com">mailto:jrhwork@hotmail.com</A>]</FONT=
>

<BR><FONT SIZE=3D2>Sent: Saturday, February 01, 2003 10:44 AM</FONT>

<BR><FONT SIZE=3D2>To: mono-list@ximian.com</FONT>

<BR><FONT SIZE=3D2>Subject: [Mono-list] mcs now checks access =
levels</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Hello,</FONT>
</P>

<P><FONT SIZE=3D2>Just a little heads up. mcs now checks the the access =
levels of referenced </FONT>

<BR><FONT SIZE=3D2>types so you can no longer reference private or =
internal types from an </FONT>

<BR><FONT SIZE=3D2>external assembly. Internal is the default access =
level for a type so if you </FONT>

<BR><FONT SIZE=3D2>have a type with no access level specified and you =
are referencing it from </FONT>

<BR><FONT SIZE=3D2>an external assembly you will now get this error: =
&quot;&lt;typename&gt; is </FONT>

<BR><FONT SIZE=3D2>inaccessible because of its protection =
level&quot;</FONT>
</P>
<BR>

<P><FONT =
SIZE=3D2>________________________________________________________________=
_</FONT>

<BR><FONT SIZE=3D2>The new MSN 8: smart spam protection and 2 months =
FREE*&nbsp; </FONT>

<BR><FONT SIZE=3D2><A =
HREF=3D"http://join.msn.com/?page=3Dfeatures/junkmail">http://join.msn.co=
m/?page=3Dfeatures/junkmail</A></FONT>
</P>

<P><FONT SIZE=3D2>_______________________________________________</FONT>

<BR><FONT SIZE=3D2>Mono-list maillist&nbsp; -&nbsp; =
Mono-list@lists.ximian.com</FONT>

<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.=
ximian.com/mailman/listinfo/mono-list</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2CB20.2BCFB0FE--