Jump to content
Tuts 4 You
Sign in to follow this  
Perplex

What is the equivalent in dnlib? 

Recommended Posts

Perplex

What is the equivalent in dnlib? 

MethodBase.IsGenericMethod;

MethodBase.DeclaringType.IsGenericType;

Share this post


Link to post
CodeExplorer

A generic method contain generic parameter so I would check for that:
GenericParam is a generic parameter (owned by a MethodDef or a TypeDef ).

Maybe someone will find this information usefull, this is why I posted it!
 

  • Like 3

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...