Not a big bug - it still compiles, but is strange behavior.
Original Code:
Visual BasicDim src As List(Of String) = {"a", "b", "c"}.ToList()
Dim dst As New List(Of String)()
For Each s As String In src
dst.Add(s)
Next
After ForEach To Linq:
Visual BasicDim src As List(Of String) = {"a", "b", "c"}.ToList()
Dim dst As New List(Of String)()
dst.AddRange(src
)
Notice the close paren on the next line.
Hi Eric,
Thank you for the code sample! I have reproduced the issue and we are working on it.