B
brad
Here's the situation: I load an assembly (using system.reflection)
and then I try to query for all methods in the assembly using
System.Type.GetCommonAttributes().
This works when my assembly was compiled from c# code. I call
GetCommonAttributes, and I get back a method.
But, if the assembly is compiled from managed c++ code,
GetCommonAttributes returns an empty set.
the Class/function structure is identical (except for syntax, of
course), and they both have the exact same attributes. But, for some
reason, the query works in c#, but not in mc++.
Is there an obvious reason why this would be? I'm not ruling out error
on my part (yet). But before I investigate too deeply, I want to know
if this function works differently for mc++ and c# code.
Thanks!
--brad
and then I try to query for all methods in the assembly using
System.Type.GetCommonAttributes().
This works when my assembly was compiled from c# code. I call
GetCommonAttributes, and I get back a method.
But, if the assembly is compiled from managed c++ code,
GetCommonAttributes returns an empty set.
the Class/function structure is identical (except for syntax, of
course), and they both have the exact same attributes. But, for some
reason, the query works in c#, but not in mc++.
Is there an obvious reason why this would be? I'm not ruling out error
on my part (yet). But before I investigate too deeply, I want to know
if this function works differently for mc++ and c# code.
Thanks!
--brad