With System.Reflection, I can compare two Type
objects with ==
.
How can I determine whether two TypeReference
objects refer to the same static type in Mono.Cecil? I'd like an approach that works for generic types, generic type definitions, arrays, pointers, generic parameters, primitives, etc. and not just for a subset of types.
Aucun commentaire:
Enregistrer un commentaire