private void CreateTestSource() { string fileName = _noCompile ? (_outputDll + ".cs") : GenerateTempFileName(); using (TestSourceFile testSourceFile = CreateTestSourceFileObj(fileName)) { testSourceFile.Generate(); _testSourceFileName = testSourceFile.Name; } }
private void GenerateCsFile(ICollection exports) { string fileName = _output + ".cs"; using (TestSourceFile file = new TestSourceFile(fileName, _input, _prefix, exports)) { file.Generate(); } Console.WriteLine("Wrote {0}", fileName); }