Why are C# collection-properties not flagged as obsolete when calling properties on them?
I tried to flag a collection property on a class as Obsolete to find all the occurances and keep a shrinking list of things to fix in my warning-list, due to the fact that we need to replace this collection property with something else. Edit : I've submitted this through Microsoft Connect, issue #417159 . Edit 16.11.2010 : Verified that this now works in the C# 4.0 compiler, both when compiling for .NET 3.5 and 4.0. I get 4 warnings in the posted code, including the one with the comment "Not OK?". However, to my surprise, the list only contained a few occurances, far fewer than I knew there