dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #8629] Type resolution not correct if property w


From: Klaus Treichel
Subject: [Pnet-developers] [bugs #8629] Type resolution not correct if property with name of class exists
Date: Tue, 20 Apr 2004 07:33:31 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #8629] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8629>
Project: DotGNU Portable.NET
Submitted by: Klaus Treichel
On: Tue 04/20/04 at 11:33

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Type resolution not correct if property with name of class exists

Original Submission:  The call to static functions of a class do not compile if 
there exists a property with the name of the class.

See property Type in attaches file.

The file compiles with MS .Net 1.1 but with cscc i get the following error:

$ cscc testcscc_1.cs
testcscc_1.cs:15: no matching method for call to `GetType(System.String, bool)'
testcscc_1.cs:15: incompatible types in assignment: no conversion from `invalid
type' to `System.Type'

The error occures when i tried to build mono's System.Web assemly with pnet.






File Attachments
-------------------

-------------------------------------------------------
Date: Tue 04/20/04 at 11:33  Name: testcscc_1.cs  Size: 383KB   By: ktreichel
testcase to verify the wrong behavoiur
http://savannah.gnu.org/bugs/download.php?item_id=8629&amp;item_file_id=1207






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8629>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]