When using Enumerable (or Queryable) extensions methods, type resolution doesn't work very well.
For exemple, consider code :
using System;
using System.Collections.Generic;
using System.Linq;
class Test
{
IEnumerable<int> Data;
void Test()
{
var result = Data.Sum(i => i);
}
}
SyntaxEditor consider "result" variable as a "double?". Same code in Visual Studio consider "result" variable as an "int".
I'm using SyntaxEditor to generate code from lambda expression edited by user. It's very important for me that type resolution work fine.
Will this bug be solved quickly ?