Open siegfriedpammer opened 10 years ago
Analysis so far: CSharpCompletionEngineBase.ParseStub()
: parser.Parse()
returns a proper syntax tree in case of "where" or "select":
class Stub
{
public static void Main (string[] args)
{
Console.WriteLine ("Hello World!");
var result = from a in args
where a.Length > 0
orderby a.Length > 0
select aa;
}
}
But in case of "orderby" a tree with only the method head (but not the body) seems to be returned:
class Stub
{
public static void Main (string[] args);
}
see http://community.sharpdevelop.net/forums/t/21879.aspx
following example program: using System; using System.Linq;
. pressing
a
afterorderby
opens CC, but the list does not containa
.