Breaking changes in .NET 4.0
- by Andrei Taptunov
There is a lot of information about new features and classes in new 4.0 however there are also changes that may affect esixting applications, for example
Timespan now implements IFormattable and old string.Format() with invalid options will throw exception instead of calling simple ToString(). However, CLR team provides a nice feature to enable behaviour from previous version with configuration setting - TimeSpan_LegacyFormatMode .
CLR Inside Out
Access to events inside the class where they are declared using += or -= will lead to call add/remove generated accessors that return void. Some code wan't even compile in 4.0.
Chris Burrows Blog
CAS is deprecated and to enable it one still need to use special setting in configuration - NetFx40_LegacySecurityPolicy
So I wonder what are other changes and is it possible to find at least preliminary list of changes that will or may break existing functionality with release of .NET 4.0 ?