[Ironruby-core] InternalsVisibleTo

Jimmy Schementi Jimmy.Schementi at microsoft.com
Tue Jan 12 00:13:55 EST 2010


Running IronRuby with the "-X:PrivateBinding" will allow access to private members, which should also work for internal members (I believe, try it out just to be sure and report back).

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of andrew Wilson
Sent: Monday, January 11, 2010 9:06 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] InternalsVisibleTo

I know this is a bit of a longshot, but has anyone got an internalsvisibleto attribute to work so they could debug internal classes from ir itself?  I tried to add the namespace "ir" and public key to the assembly I was trying to test to no avail.

Im building out some rspec & IronRuby tests of my .net assemblies and it would be nice if I could reach out and touch some internal classes :)

-A

--
When I wrote this, only God and I understood what I was doing.  Now, God only knows - Karl Weierstrass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100112/aaad5e6f/attachment-0001.html>


More information about the Ironruby-core mailing list