Jump to content
Tuts 4 You

What is the equivalent in dnlib? 


Perplex

Recommended Posts

Posted

What is the equivalent in dnlib? 

MethodBase.IsGenericMethod;

MethodBase.DeclaringType.IsGenericType;

CodeExplorer
Posted

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

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
×
×
  • Create New...