From 8b6a2b88719a7120733d93e597d482c1a37c40b9 Mon Sep 17 00:00:00 2001 From: Jb Evain Date: Sat, 26 Jan 2019 22:05:12 -0800 Subject: We're only compiling cs files --- Test/Mono.Cecil.Tests/CompilationService.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Test/Mono.Cecil.Tests') 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 (); } -- cgit v1.2.3