using System.Collections.Generic; class A { static void Foo() { List<Bugaga> s = new List<Bugaga>(); // 'Bugaga' is unresolved symbol. s.ToArray() } }
Try to select the last expression and introduce variable. It does not work. Should work. Expected:
using System.Collections.Generic; class A { static void Foo() { List<Bugaga> s = new List<Bugaga>(); Bugaga[] arr = s.ToArray(); } }