public static ControlFlowGraph Create(MethodDefinition method) { if (method == null) { throw new ArgumentNullException("method"); } if (!method.HasBody) { throw new ArgumentException(); } ControlFlowGraphBuilder builder = new ControlFlowGraphBuilder(method); return builder.CreateGraph(); }
public static ControlFlowGraph Create(MethodDefinition method) { if (method == null) { throw new ArgumentNullException("method"); } if (!method.HasBody) { throw new ArgumentException(); } ControlFlowGraphBuilder builder = new ControlFlowGraphBuilder(method); return(builder.CreateGraph()); }