public void DecorateMethod(MethodDefinition method, FieldDefinition interceptorManager) { string newMethodName = string.Format(CultureInfo.InvariantCulture, "{0}<SP>", method.Name); MethodDefinition implementationMethod = method.CreateCopy(newMethodName); method.DeclaringType.Methods.Add(implementationMethod); DeleteMethodImplementation(method); this.WeaveInterceptionCall(method, method, implementationMethod, interceptorManager); }