예제 #1
0
 public TestableFileStream(TestableFile memoryFile)
 {
     Debug.Assert(!memoryFile.Exists);
     MemoryFile        = memoryFile;
     MemoryFile.Exists = true;
     CopyBack          = true;
 }
예제 #2
0
 public TestableFileStream(TestableFile memoryFile, byte[] bytes, bool writable)
     : base(bytes, writable)
 {
     Debug.Assert(memoryFile.Exists);
     MemoryFile = memoryFile;
     CopyBack   = writable;
 }
예제 #3
0
 public TestableCompilerFile(string filePath, TestableFile testableFile)
 {
     FilePath     = filePath;
     TestableFile = testableFile;
 }