1 write to DocumentationFile
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\MetadataShadowCopy.cs (1)
39
DocumentationFile
= documentationFileOpt;
9 references to DocumentationFile
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\MetadataShadowCopy.cs (1)
47
DocumentationFile
?.DisposeFileStream();
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (8)
MetadataShadowCopyProviderTests.cs (8)
96
Assert.Equal(File.ReadAllBytes(doc.Path), File.ReadAllBytes(sc1.
DocumentationFile
.FullPath));
230
Assert.Equal(Path.Combine(Path.GetDirectoryName(sc.PrimaryModule.FullPath), @"a.xml"), sc.
DocumentationFile
.FullPath);
231
Assert.Equal("Invariant", File.ReadAllText(sc.
DocumentationFile
.FullPath));
236
Assert.Equal(Path.Combine(Path.GetDirectoryName(sc.PrimaryModule.FullPath), @"el-GR", "a.xml"), sc.
DocumentationFile
.FullPath);
237
Assert.Equal("Greek", File.ReadAllText(sc.
DocumentationFile
.FullPath));
242
Assert.Equal(Path.Combine(Path.GetDirectoryName(sc.PrimaryModule.FullPath), @"a.xml"), sc.
DocumentationFile
.FullPath);
243
Assert.Equal("Invariant", File.ReadAllText(sc.
DocumentationFile
.FullPath));
248
Assert.Null(sc.
DocumentationFile
);