Example #1
0
        public PointCut(ILProcessor processor, Instruction instruction)
        {
            Processor      = processor;
            InjectionPoint = instruction;

            ModuleContext = ModuleContext.GetOrCreateContext(processor.Body.Method.Module);
            MethodContext = MethodContextFactory.GetOrCreateContext(processor.Body.Method);
            TypeSystem    = ModuleContext.TypeSystem;
        }