Mixed (/clr) assembly and reflection? RRS feed

  • Question

  • Hello.


    According to the framework 2 sdk, reflection is not available for a mixed assembly.


    What parts of reflection are not available? Because some parts are.


    For example I built a mixed exe (mixing managed and unmanaged code using #pragma unmanaged), and in the managed part I try to get a type from an object (works), to list members (works)...


    Does reflection fully work in the managed area of a mixed assembly (despite what is said in the sdk)?


    I just tried a dynamic cast right now : works... ??

    Monday, June 11, 2007 10:24 AM


  • I guess what they mean is that the MSIL generated for the non-CLI types are not reflectable. (I know there's no such word, but hopefully it makes sense)
    Monday, June 11, 2007 1:24 PM