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
Maybe this is a known limitation? var myList = Array.Empty<string>().ToList(); will suggest to use an explicit type, but the fixer does nothing, I'd hoped for a suggested change to List<string> myList = Array.Empty<string>().ToList(); .
(Yes one can argue that the type really is apparent here, but that's not the point. I just wanted a simple one-liner to demonstrate that the fixer doesn't do what I hoped).
The text was updated successfully, but these errors were encountered:
Maybe this is a known limitation?
var myList = Array.Empty<string>().ToList();
will suggest to use an explicit type, but the fixer does nothing, I'd hoped for a suggested change toList<string> myList = Array.Empty<string>().ToList();
.(Yes one can argue that the type really is apparent here, but that's not the point. I just wanted a simple one-liner to demonstrate that the fixer doesn't do what I hoped).
The text was updated successfully, but these errors were encountered: