How do I find the return type of a method with System.Reflection.MethodBase in C#?

Posted by theburningmonk on Stack Overflow See other posts from Stack Overflow or by theburningmonk
Published on 2010-03-22T18:25:00Z Indexed on 2010/03/22 18:31 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

Hi, how do I find out the return type of a method from the MethodBase? I'm using PostSharp and trying to override the CompileTimeValidate(MethodBase method) method to make sure the attribute is applied to a method with the correct signature.

Thanks,

© Stack Overflow or respective owner

Related posts about c#

Related posts about reflection