[Mono-dev] can't build the c# compilater

Alexandre Miguel Pedro Gomes alexmipego at gmail.com
Thu Apr 6 20:14:09 EDT 2006


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 <d_erchoff at hotmail.com> 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
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>


--
Alexandre Gomes, Portugal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060407/bdcb2cd0/attachment.html 


More information about the Mono-devel-list mailing list