There is no built-in function for this, you have to do it the hard way, as Alex mentioned.
2011/6/18 Alex <[email protected]> > Hi, > > Do you mean whether a type is used at all within a particular > assembly? If so, you'll have to do quite a bit of inspection: > Inheritance, custom attributes, generic parameters, fields, method > parameters/return types, locals, instructions, etc... > > I don't know if there's any 'convenient' way to do this currently. > > Regards, > Alex > > 2011/6/18 Alex B <[email protected]>: > > Hi, > > > > How to check if type is using in assembly? > > > > -- > > -- > > mono-cecil > > -- > -- > mono-cecil -- -- mono-cecil
