Browse by Tags

All Tags » Compatibility (RSS)

Documenting ‘undocumented’ features

MMayerl asks over on the MSDN wiki , why we don’t document the undocumented C# keywords __makeref , __reftype , __ refvalue and __arglist ? Because that defeats of the purpose of them being undocumented. They are undocumented for a reason; so that...
Posted by David Kean | 2 comment(s)
Filed under: ,

Moving a type from one assembly to another using TypeForwardedToAttribute

One of the problems that we’re facing today in the Framework, mainly stemming from the red bits/green bits design of .NET 3.5, is that certain ‘core’ types are located in the wrong assemblies. For example, the extremely useful ObservableCollection<T>...

"I can't believe Microsoft didn't make [Enter API Name Here] public"

Jeremy Miller takes a dig at the BCL team with his post, I love Ayende (and OSS) : From one of Ayende 's many OSS projects. /// This class actually already exists in the System.Core assembly...as an internal class. /// I can only speculate as to why...
Posted by David Kean | 29 comment(s)

BUG: Multi-targeting rule not firing on usages of 2.0 SP2 and 3.0 SP2

Previously, I've spoken about the new multi-targeting rule that shipped in Visual Studio 2008 SP1 and FxCop 1.36. This rule helps to prevent users from inadvertently taking a dependency on a .NET service pack. Unfortunately, it shipped with a bug...
Posted by David Kean | with no comments
Filed under: , ,

Breaking changes to the String class

You may have already read Justin Van Patten's post about the upcoming breaking changes to the String class for .NET 4.0 . This change will affect the behavior of the String.StartsWith , String. EndsWith , String. IndexOf and String. LastIndexOf methods...
Posted by David Kean | 7 comment(s)

New for Visual Studio 2008 SP1 and FxCop 1.36 – Multi-targeting rule

Update: Note there is currently a bug in this rule that prevents it from firing on .NET 2.0 SP2 and .NET 3.0 SP2 added APIs when targeting .NET 3.5. See BUG: Multi-targeting rule not firing on usages of 2.0 SP2 and 3.0 SP2 for more information. Back in...
Posted by David Kean | 21 comment(s)
Filed under: ,