PageRenderTime 14ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/LinFu.AOP/Interfaces/IMethodRewriter.cs

http://github.com/philiplaureano/LinFu
C# | 16 lines | 8 code | 1 blank | 7 comment | 0 complexity | 3633305f2013468d4a486a013c77c61e MD5 | raw file
 1using Mono.Cecil;
 2
 3namespace LinFu.AOP.Cecil.Interfaces
 4{
 5    /// <summary>
 6    ///     Represents a type that can modify method bodies.
 7    /// </summary>
 8    public interface IMethodRewriter : IMethodBodyRewriter, IHostWeaver<TypeDefinition>
 9    {
10        /// <summary>
11        ///     Adds local variables to the <paramref name="hostMethod" />.
12        /// </summary>
13        /// <param name="hostMethod">The target method.</param>
14        void AddLocals(MethodDefinition hostMethod);
15    }
16}