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