Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jb@evain.net>2019-01-27 09:05:12 +0300
committerJb Evain <jb@evain.net>2019-02-12 01:38:44 +0300
commit8b6a2b88719a7120733d93e597d482c1a37c40b9 (patch)
tree3129c64e2964729cd42ee42e763d89249e6f90f2 /Test/Mono.Cecil.Tests
parentbde4fd363d3a8ac0c3f2514689f51ebf1160dd22 (diff)
We're only compiling cs files
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r--Test/Mono.Cecil.Tests/CompilationService.cs11
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 ();
}