Roslyn failed to compile code

前端 未结 4 2175
臣服心动
臣服心动 2021-01-30 07:46

After I have migrated my project from VS2013 to VS2015 the project no longer builds. A compilation error occurs in the following LINQ statement:

static void Mai         


        
4条回答
  •  感动是毒
    2021-01-30 08:40

    This is not a bug. See https://github.com/dotnet/roslyn/issues/4509#issuecomment-130872713 for an example of how a dynamic expression of this form can leave such an out variable unassigned.

提交回复
热议问题