[Mono-dev] DynamicMethod skipVisibility

tcmichals tcmichals at msn.com
Fri Aug 18 17:36:52 EDT 2006


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... 






More information about the Mono-devel-list mailing list