public MethodBodyMapper(IMethodBodyElementFinder elementFinder, MethodDeclaration method) { _elementFinder = elementFinder; _parentMethod = method; _referenceResolver = new MethodReferenceResolver(method); MapElements(); }
public static MethodReference Resolve(MethodDefinition methodDef) { var resolver = new MethodReferenceResolver(methodDef); return(new MethodReference(resolver)); }