This repository was archived by the owner on Nov 8, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
AsyncUsageAnalyzers/AsyncUsageAnalyzers.Test/Helpers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ namespace TestHelper
17
17
/// </summary>
18
18
public abstract partial class DiagnosticVerifier
19
19
{
20
- private static readonly MetadataReference CorlibReference = MetadataReference . CreateFromAssembly ( typeof ( object ) . Assembly ) . WithAliases ( ImmutableArray . Create ( "global" , "corlib" ) ) ;
21
- private static readonly MetadataReference SystemReference = MetadataReference . CreateFromAssembly ( typeof ( System . Diagnostics . Debug ) . Assembly ) . WithAliases ( ImmutableArray . Create ( "global" , "system" ) ) ;
22
- private static readonly MetadataReference SystemCoreReference = MetadataReference . CreateFromAssembly ( typeof ( Enumerable ) . Assembly ) ;
23
- private static readonly MetadataReference CSharpSymbolsReference = MetadataReference . CreateFromAssembly ( typeof ( CSharpCompilation ) . Assembly ) ;
24
- private static readonly MetadataReference CodeAnalysisReference = MetadataReference . CreateFromAssembly ( typeof ( Compilation ) . Assembly ) ;
20
+ private static readonly MetadataReference CorlibReference = MetadataReference . CreateFromFile ( typeof ( object ) . Assembly . Location ) . WithAliases ( ImmutableArray . Create ( "global" , "corlib" ) ) ;
21
+ private static readonly MetadataReference SystemReference = MetadataReference . CreateFromFile ( typeof ( System . Diagnostics . Debug ) . Assembly . Location ) . WithAliases ( ImmutableArray . Create ( "global" , "system" ) ) ;
22
+ private static readonly MetadataReference SystemCoreReference = MetadataReference . CreateFromFile ( typeof ( Enumerable ) . Assembly . Location ) ;
23
+ private static readonly MetadataReference CSharpSymbolsReference = MetadataReference . CreateFromFile ( typeof ( CSharpCompilation ) . Assembly . Location ) ;
24
+ private static readonly MetadataReference CodeAnalysisReference = MetadataReference . CreateFromFile ( typeof ( Compilation ) . Assembly . Location ) ;
25
25
26
26
private static readonly string DefaultFilePathPrefix = "Test" ;
27
27
private static readonly string CSharpDefaultFileExt = "cs" ;
You can’t perform that action at this time.
0 commit comments