Skip to content

Commit 77c44f7

Browse files
Add old sqlclient for tests (same as web)
1 parent 34e4199 commit 77c44f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/TestRunners/ConverterTestBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ public ConverterTestBase(string rootNamespace = null)
4949

5050
private static IReadOnlyCollection<PortableExecutableReference> References { get; } = DefaultReferences.With(
5151
typeof(System.Windows.Forms.Form).Assembly,
52-
typeof(Microsoft.VisualBasic.Devices.Computer).Assembly
52+
typeof(Microsoft.VisualBasic.Devices.Computer).Assembly,
53+
typeof(System.Data.SqlClient.SqlConnection).Assembly
5354
);
5455

5556
public async Task TestConversionCSharpToVisualBasicAsync(string csharpCode, string expectedVisualBasicCode, bool expectSurroundingMethodBlock = false, bool expectCompilationErrors = false, TextConversionOptions conversionOptions = null, bool hasLineCommentConversionIssue = false)

0 commit comments

Comments
 (0)