26 references to CopyFile
Microsoft.CodeAnalysis.Test.Utilities (6)
AssemblyLoadTestFixture.cs (1)
389
var delta1InAnalyzerReferencesDelta1 = analyzerReferencesDelta1Directory.
CopyFile
(Delta1);
Platform\Desktop\TestHelpers.cs (5)
74
dir.
CopyFile
(typeof(System.Reflection.Metadata.MetadataReader).Assembly.Location);
75
var immutable = dir.
CopyFile
(typeof(ImmutableArray).Assembly.Location);
76
var analyzer = dir.
CopyFile
(typeof(DiagnosticAnalyzer).Assembly.Location);
77
dir.
CopyFile
(typeof(Memory<>).Assembly.Location);
78
dir.
CopyFile
(typeof(System.Runtime.CompilerServices.Unsafe).Assembly.Location);
Microsoft.CodeAnalysis.UnitTests (12)
AnalyzerAssemblyLoaderTests.cs (1)
1311
var deltaNewFilePath = dir.
CopyFile
(deltaFilePath).Path;
Analyzers\AnalyzerFileReferenceAppDomainTests.cs (11)
45
dir.
CopyFile
(typeof(AppDomainUtils).Assembly.Location);
46
dir.
CopyFile
(typeof(RemoteAnalyzerFileReferenceTest).Assembly.Location);
47
dir.
CopyFile
(typeof(Vector).Assembly.Location);
83
dir.
CopyFile
(typeof(System.Reflection.Metadata.MetadataReader).Assembly.Location);
84
dir.
CopyFile
(typeof(AppDomainUtils).Assembly.Location);
85
dir.
CopyFile
(typeof(Memory<>).Assembly.Location);
86
dir.
CopyFile
(typeof(System.Runtime.CompilerServices.Unsafe).Assembly.Location);
87
var immutable = dir.
CopyFile
(typeof(ImmutableArray).Assembly.Location);
88
var analyzer = dir.
CopyFile
(typeof(DiagnosticAnalyzer).Assembly.Location);
89
dir.
CopyFile
(typeof(RemoteAnalyzerFileReferenceTest).Assembly.Location);
90
dir.
CopyFile
(typeof(Vector).Assembly.Location);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
9682
Dim vbcPath = dir.
CopyFile
(s_basicCompilerExecutable).Path
9683
dir.
CopyFile
(GetType(Compilation).Assembly.Location)
9693
dir.
CopyFile
(GetType(VisualBasicCompilation).Assembly.Location)
Roslyn.VisualStudio.Next.UnitTests (1)
Remote\SnapshotSerializationTests.cs (1)
566
var tempCorlib = tempDir.
CopyFile
(mscorlibLocation);
VBCSCompiler.UnitTests (4)
AnalyzerConsistencyCheckerTests.cs (2)
86
_ = directory.
CopyFile
(TestFixture.Alpha);
223
directory.
CopyFile
(TestFixture.Delta1);
CompilerServerTests.cs (2)
1464
var serverExe = dir.
CopyFile
(compilerServerExecutable).Path;
1465
dir.
CopyFile
(typeof(System.Collections.Immutable.ImmutableArray).Assembly.Location);