[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #10311] Possible misinterpretation of 'protected
From: |
Dominique Canazzi |
Subject: |
[Pnet-developers] [bugs #10311] Possible misinterpretation of 'protected internal' |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #10311] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10311>
Project: DotGNU Portable.NET
Submitted by: Dominique Canazzi
On: mar 07.09.2004 at 12:53
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Summary: Possible misinterpretation of 'protected internal'
Original Submission: cscc seems to interpret this combination as "protected
AND internal". ECMA says "internal, OR ELSE protected".
Example:
public class A
{
protected internal void foo () {}
}
public class B : A
{
private class X
{
private A owner;
public void SomeMethod ()
{
B myOwner = owner as B;
myOwner.foo ();
}
}
}
does not compile when A and B defined in different assemblies.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10311>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Pnet-developers] [bugs #10311] Possible misinterpretation of 'protected internal',
Dominique Canazzi <=