Is there any way I can compare the MethodDeclaration object and the IMethod object and see if they are similar? Or is there any way that a MethodDeclaration object can be converted to an IMethod object (IMethod provides the isSimilar function)?
Update: Similarly, I would like to know if FieldDeclaration can be converted to IField.
source
share