与VS2010 / C#4 C#编译器错误CS1628 [英] C# compiler error CS1628 with VS2010/C#4

查看:234
本文介绍了与VS2010 / C#4 C#编译器错误CS1628的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此编译器错误是在的 MSDN 为VS2005 VS2008和,而不是较新版本。

This compiler error is listed in the C# compiler errors on MSDN for VS2005 and VS2008, but not for newer versions.

这会让我承担错误是不适用或固定的较新版本编译器,但这似乎并非如此。

This would make me assume the error is not applicable or fixed for newer versions of the compiler, but this appears to not be the case.

我还注意到编译错误的列表基本上 2010年及以上的Visual Studio版本少

I have also noted the list of compiler errors is substantially less for Visual Studio versions 2010 and above.

我是正确的?

推荐答案

此错误仍然发生在VS2012(这是由于概念上的限制,各地代表和ref参数,而不是一个技术的限制)。我猜的文件只是一直没有更新...

This error still happens on VS2012 (and this is due to a conceptual limitation around delegates and ref parameters, not a technological limitation). I'm guessing the documentation just hasn't been updated...

这篇关于与VS2010 / C#4 C#编译器错误CS1628的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆