Accessing internal class in different assebly
-
Exploring some MS assembly using reflector I found something odd: a class declared internal in one assembly that was being used in a different one. That does not make sense to me. As far as you know, there is some (legal) way to achieve that, or Microsoft is using some C# and/or IL "magic" to make that possible?
-
Exploring some MS assembly using reflector I found something odd: a class declared internal in one assembly that was being used in a different one. That does not make sense to me. As far as you know, there is some (legal) way to achieve that, or Microsoft is using some C# and/or IL "magic" to make that possible?
By looking at the attributes of the assembly you should have found this: InternalsVisibleToAttribute[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
By looking at the attributes of the assembly you should have found this: InternalsVisibleToAttribute[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
By looking at the attributes of the assembly you should have found this: InternalsVisibleToAttribute[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
Yeah! Like he said. Yet another .NET feature I've not encountered before, good to know.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”