Beispiel #1
0
        public static void ForEach(MethodBodyBlock method, ForEachCallback handler)
        {
            GraphProcessor graphProcessor = new GraphProcessor();
            Visitor        visitor        = new ForEachVisitor(graphProcessor, handler);

            visitor.AddTask(method, null);
            graphProcessor.Process();
        }
Beispiel #2
0
 public static void ForEach(MethodBodyBlock method, ForEachCallback handler)
 {
     GraphProcessor graphProcessor = new GraphProcessor();
     Visitor visitor = new ForEachVisitor(graphProcessor,handler);
     visitor.AddTask(method,null);
     graphProcessor.Process();
 }
Beispiel #3
0
 private static void RemoveStackTypes(MethodBodyBlock method)
 {
     ForEachVisitor.ForEach(method, new ForEachCallback(RemoveStackTypesCallback));
 }