[Mono-dev] [PATCH] Friend access for class members

Carlos Alberto Cortez calberto.cortez at gmail.com
Fri Oct 28 03:34:49 EDT 2005


Hey,

The attached patch implements friend access for class members (methods,
properties, fields). 

I'm not including the type-check section, since that part will be
modified (next merge to gmcs) and I'm waiting for that to happen.
However, that change should be small (I will send the patch).

I'm also attaching the error reported when using it (cs0281) and some
tests for various scenarios.

Thanks in advance for the comments.
Carlos.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: friend.diff
Type: text/x-patch
Size: 8686 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051028/417b232a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: friend-error.tar.gz
Type: application/x-compressed-tar
Size: 538 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051028/417b232a/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: friend-test.tar.gz
Type: application/x-compressed-tar
Size: 2538 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051028/417b232a/attachment-0002.bin 


More information about the Mono-devel-list mailing list