I need to be able to determine if a given method or property comes from a particular interface and is explicitly implemented.
Has anyone done this and is it actually possible to get this information by the means of .NET reflection?
Update
As can be seen in comments below the accepted answer, the actual thing I am trying to accomplish is to call the method that implements a particular interface via reflection. Since the possibility to have multiple interfaces with the same method signature, I wanted to determine the right implementation to invoke based on the interface. In my scenario, the implementation type, interface and method name are determined at runtime, so I cannot use simple casting in my case.