I have two similar (not identical) dlls, one of them being actually a part of the other. I am trying to see if there is still compatibility (that is, if the smaller one is still fully included in the larger).
I am doing this by iterating through all the type in the smaller dll and checking if each method in them also exists (name and parameter list) in the larger dll.
The problem is that Assembly.GetMethods() returns both methods and property getters/setters, which I guess, yeah, are a kind of method, but this is bad for me in this circumstance.
So, my question is, how can I tell if a MethodInfo object stores a property or a real method?