Compiler Services Information is done by the compiler, the problem is not the ExpandoObject
, it's the dynamic
keyword, as you are delaying invocation, thus it's handled by the DLR not the compiler. Casting to object
first will fix this.
TestWithExpando((object)xp);