[Mono-dev] Re flection not working with System.Runtime.Remoting.Channels.CoreChannel

"Andrés G. Aragoneses" knocte at gmail.com
Sat Oct 4 23:41:18 EDT 2008

Mathflair wrote:
> I am having a problem with the following line of code:
> Type coreChannelType =
> binaryServerFormatterSinkProvider.GetType().Assembly.GetType("System.Runtime.Remoting.Channels.CoreChannel");
> This returns a null reference pointer.  I can't figure out why this would
> happen.  My only guess is that the reflection libraries are not properly
> grabbing the class since it is an internal class.
> Any help on getting this working would be great.

Mono only follows public APIs, so if your code relies on internal bits,
it won't work outside MS.NET.




More information about the Mono-devel-list mailing list