leppie
leppie

Reputation: 117280

C# compiler error CS1628 with VS2010/C#4

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.

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

Am I correct?

Upvotes: 4

Views: 761

Answers (2)

Ascyt
Ascyt

Reputation: 27

I just got this error with VS2022 so no, you're not.

Upvotes: 0

thecoop
thecoop

Reputation: 46128

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...

Upvotes: 3

Related Questions