If it is problematic, try cranking down the "Optimisation" setting to, say, .NET 2.0. This will then be forced to display the explicit .Select(...) etc. This should produce correct C#, but without the LINQ style.
Note, however, that it may also reverse the apparent call-order, since it will probably use explicit extension-method representation. The code should be equivalent either way, though.
发布评论
评论(1)
如果出现问题,请尝试将“优化”设置调低至 .NET 2.0。然后将强制显示显式
.Select(...)
等。这应该会生成正确的 C#,但没有 LINQ 样式。但请注意,它也可能会反转明显的调用顺序,因为它可能会使用显式扩展方法表示。不过,无论哪种方式,代码都应该是等效的。
If it is problematic, try cranking down the "Optimisation" setting to, say, .NET 2.0. This will then be forced to display the explicit
.Select(...)
etc. This should produce correct C#, but without the LINQ style.Note, however, that it may also reverse the apparent call-order, since it will probably use explicit extension-method representation. The code should be equivalent either way, though.