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)
97
Assert.Equal(File.ReadAllBytes(doc.Path), File.ReadAllBytes(sc1.
DocumentationFile
.FullPath));
231
Assert.Equal(Path.Combine(Path.GetDirectoryName(sc.PrimaryModule.FullPath), @"a.xml"), sc.
DocumentationFile
.FullPath);
232
Assert.Equal("Invariant", File.ReadAllText(sc.
DocumentationFile
.FullPath));
237
Assert.Equal(Path.Combine(Path.GetDirectoryName(sc.PrimaryModule.FullPath), @"el-GR", "a.xml"), sc.
DocumentationFile
.FullPath);
238
Assert.Equal("Greek", File.ReadAllText(sc.
DocumentationFile
.FullPath));
243
Assert.Equal(Path.Combine(Path.GetDirectoryName(sc.PrimaryModule.FullPath), @"a.xml"), sc.
DocumentationFile
.FullPath);
244
Assert.Equal("Invariant", File.ReadAllText(sc.
DocumentationFile
.FullPath));
249
Assert.Null(sc.
DocumentationFile
);