Accessing "inner" classes using C # interactive

Using the C # interactive console in VS2015, I want to access properties and classes marked as internal . This is usually done by adding InternalsVisibleAttribute to the project in question. Ive tried adding csc.exe as a friend assembly, but I still have access problems.

  • Is this the right approach to access internal class members through the C # interactive console?
  • If so, which dll / exe do I need to make visible inside?
+5
source share

All Articles