diff options
author | Jb Evain <jb@evain.net> | 2019-01-27 09:05:12 +0300 |
---|---|---|
committer | Jb Evain <jb@evain.net> | 2019-02-12 01:38:44 +0300 |
commit | 8b6a2b88719a7120733d93e597d482c1a37c40b9 (patch) | |
tree | 3129c64e2964729cd42ee42e763d89249e6f90f2 /Test/Mono.Cecil.Tests | |
parent | bde4fd363d3a8ac0c3f2514689f51ebf1160dd22 (diff) |
We're only compiling cs files
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r-- | Test/Mono.Cecil.Tests/CompilationService.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Test/Mono.Cecil.Tests/CompilationService.cs b/Test/Mono.Cecil.Tests/CompilationService.cs index 5501d57..25e42ab 100644 --- a/Test/Mono.Cecil.Tests/CompilationService.cs +++ b/Test/Mono.Cecil.Tests/CompilationService.cs @@ -11,7 +11,6 @@ using NUnit.Framework; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Emit; using CS = Microsoft.CodeAnalysis.CSharp; -using VB = Microsoft.CodeAnalysis.VisualBasic; #endif namespace Mono.Cecil.Tests { @@ -90,7 +89,7 @@ namespace Mono.Cecil.Tests { if (extension == ".il") return IlasmCompilationService.Instance.Compile (name); - if (extension == ".cs" || extension == ".vb") + if (extension == ".cs") #if NET_CORE return RoslynCompilationService.Instance.Compile (name); #else @@ -182,14 +181,6 @@ namespace Mono.Cecil.Tests { new [] { CS.SyntaxFactory.ParseSyntaxTree (source) }, references, new CS.CSharpCompilationOptions (OutputKind.DynamicallyLinkedLibrary, optimizationLevel: OptimizationLevel.Release)); - - case ".vb": - return VB.VisualBasicCompilation.Create ( - assemblyName, - new [] { VB.SyntaxFactory.ParseSyntaxTree (source) }, - references, - new VB.VisualBasicCompilationOptions (OutputKind.DynamicallyLinkedLibrary, optimizationLevel: OptimizationLevel.Release)); - default: throw new NotSupportedException (); } |