コード例 #1
0
        private ISet <ArrayAccess> _CollectAccesses(string body)
        {
            var code = TestCodeFactory.CreateCode(body);
            var cfg  = ControlFlowGraphFactory.Create(code);

            return(ArrayAccessCollector.Collect(cfg));
        }
コード例 #2
0
 public ControlFlowGraph CreateControlFlowGraph(string body)
 {
     return(ControlFlowGraphFactory.Create(TestCodeFactory.CreateCode(body)));
 }
コード例 #3
0
 public ControlFlowGraph CreateControlFlowGraph(string body, bool interprocedural)
 {
     return(ControlFlowGraphFactory.Create(TestCodeFactory.CreateCode(body), interprocedural));
 }
コード例 #4
0
 public override ControlFlowGraph CreateControlFlowGraph(string body)
 {
     return(ControlFlowGraphFactory.Create(TestCodeFactory.CreateCode(body), true));
 }
コード例 #5
0
 private VariableAccesses _CollectAccesses(string body)
 {
     return(VariableAccesses.Collect(TestCodeFactory.CreateCode(body)));
 }
コード例 #6
0
 public Code CreateCode(string body)
 {
     return(TestCodeFactory.CreateCode(body));
 }