I have realized that I cannot directly compare types from reflection only loaded assemblies with types resolved by typeof
, even they both are from the same assembly.
I am currently using: reflectionOnlyType.AssemblyQualifiedName == type.AssemblyQualifiedName
.
What is the recommended way?
Aucun commentaire:
Enregistrer un commentaire