KeyValuePair in July CTP has read-only Key/Value properties?

Yet another unexpected change/bug in July CTP...

Barely recovered from the shock of not being able to compare generic type arguments to null, I'm getting more compiler errors... turns out the Key and Value properties of the generic KeyValuePair<K,V> structure are now read-only!

That's a change from previous versions, and also differs from the non-generic structure DictionaryEntry.

Unlike the other issue which is definitely a bug (already filed with MS), this onemight be intentional since value types have funny behavior when you try to change them anyway. But is it intentional, or another bug?

[631 byte] By [ChrisNahr] at [2007-12-16]
# 1
Since I can't figure out if this is an accident or by design, I've filed a bug with the MSDN Product Feedback Center. Please read the description, see the sample, and cast your vote under ID FDBK32518, or go directly to this link: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=0f4bf9d4-f9c1-4b1c-841d-43c9ad80d74b
ChrisNahr at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified