[Mono-dev] DynamicMethod skipVisibility

Zoltan Varga vargaz at gmail.com
Thu Aug 31 13:47:56 EDT 2006


                                     Hi,

  This is now fixed in SVN.

       Zoltan

On 8/18/06, tcmichals <tcmichals at msn.com> wrote:
>
> Version 1.1.16.1, when creating a dynamic function with the skipVisibility
> set to true and creating a Delegate to the new function.  The dynamic
> function is calling another function which is not public, this gives me an
> exception, but I thought the skipVisibility flag allows this?  Also, tested
> on .NET and it worked fine.
> class foo()
> {
>   void fooFunc() {}
> }
>
> ..... delegate del = DynamiclyCreateFunc(methodInfo fooFunc);
>      del (thisFoo, null);  -> get execption, if the fooFunc is public it is
> invoked...
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



More information about the Mono-devel-list mailing list