Mh, Yes but i don't use the source control access.
This the download version of the mono 1.1.14, and your are right. I
failed something when i copyed from the archive to my local folder ...
Thank you, your remark helped me to found my error.
Alexandre Miguel Pedro Gomes a écrit :
I'm sorry but I can't find any reference to the word parts
on the jay file... But I did found the ArrayList in the class.cs file.
I guess you may be using an old jay file with updated .cs files?
I researched the subject and I found that Marek Safar had been working
of that and he remove that Parts arraylist in revision 57284 dated of
2006-02-25 11:28:44 -0500 (Sat, 25 Feb 2006). Since the .jay file got
changed too, you've to update it :)
Hope it helps,
On 4/6/06, Denis
ERCHOFF <[EMAIL PROTECTED]>
wrote:
Hi all,
I am using the mono source mono-1.1.14.
I am working with mcs and not with gmcs.
I generated the cs-parser.cs file using jay. But when i want to build
the c# compilater, my ide raise an error :
" error CS0117: 'Mono.CSharp.TypeContainer' does not
contain a definition for 'Parts' "
Looking at the file cs-parser.jay, we can see this :
if (current_class.Parts != null)
{
constructor_parent = (TypeContainer)
current_class.Parts [0];
}
I looked at the TypeContainer class definition and i saw that a
private field is declared :
public TypeContainer PartialContainer;
ArrayList partial_parts;
Bu there is no public field/property "Parts".
In local i have added the public property "Parts", accessing the
private field "partial_parts".
But i am not sure this is the right way.
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list
--
Alexandre Gomes, Portugal
|
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list