コード例 #1
0
        public static List <CodeBlock> GenerateTestCodeBlock(SourceFile sourceFile)
        {
            List <CodeBlock> blocks = new List <CodeBlock>()
            {
            };
            CodeBlock codeBlock = new CodeBlock(sourceFile, "MethodA_1", new Location(1, 0), true);

            codeBlock.AddStatement(new Statement(new Location(1, 0), 19));
            blocks.Add(null);
            blocks.Add(codeBlock);
            return(blocks);
        }