You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imports VB = Microsoft.VisualBasic 'TODO: Figure out why this is removed sometimes by the simplifier (making this test flaky)
590
+
Imports VB = Microsoft.VisualBasic
574
591
575
592
Public Class Test
576
593
Private aliased As String = VB.Left(""SomeText"", 1)
594
+
Private aliasedAgain As String = VB.Left(""SomeText"", 1)
577
595
Private aliased2 As System.Delegate = New SIO.ErrorEventHandler(AddressOf OnError)
578
596
579
597
' Make use of the non-aliased imports, but ensure there's a name clash that requires the aliases in the above case
@@ -590,11 +608,12 @@ End Sub
590
608
using System.IO;
591
609
using SIO = System.IO;
592
610
using Microsoft.VisualBasic; // Install-Package Microsoft.VisualBasic
593
-
using VB = Microsoft.VisualBasic; // Install-Package Microsoft.VisualBasic // TODO: Figure out why this is removed sometimes by the simplifier (making this test flaky)
611
+
using VB = Microsoft.VisualBasic; // Install-Package Microsoft.VisualBasic
0 commit comments