8 references to NeedsShadowCopy
Microsoft.CodeAnalysis.Scripting (3)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (3)
232if (NeedsShadowCopy(fullPath)) 282/// Copy of the specified file, or null if the file doesn't need a copy (<see cref="NeedsShadowCopy"/>). 290return NeedsShadowCopy(fullPath) ? GetMetadataShadowCopyNoCheck(fullPath, kind) : null;
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (5)
MetadataShadowCopyProviderTests.cs (5)
57Assert.Throws<ArgumentNullException>(() => _provider.NeedsShadowCopy(null)); 58Assert.Throws<ArgumentException>(() => _provider.NeedsShadowCopy("c:goo.dll")); 59Assert.Throws<ArgumentException>(() => _provider.NeedsShadowCopy("bar.dll")); 60Assert.Throws<ArgumentException>(() => _provider.NeedsShadowCopy(@"\bar.dll")); 61Assert.Throws<ArgumentException>(() => _provider.NeedsShadowCopy(@"../bar.dll"));