Amazon.com Widgets

July 2004 - Posts

The difference between NotSupportedException and NotImplementedException
Sounds like one of those Wait Wait Don’t Tell me questions… 10 points if you can tell me the difference between NotSupportedException and NotImplementedException... ;-) NotSupportedException is for cases where it is ok (that is, by design) Read More...
Quiz: Primes in the BCL... part 2
Some good comments on my BCL prime quiz … but still one unanswered question (at the end)… Thomas Woelfer quickly got that the place in the BCL for generating prime numbers is in Hashtable.cs and Eric Wilson does a good job explaining why… Read More...
Posted 28 July 04 08:12 by BradA | 17 Comments   
Filed under
Quiz: Primes in the BCL...
I played around a little with computing prime numbers last week, fun stuff but more on that for a another day…. When I discussed some thoughts on the subject with devs on the BCL team I found out (to my surprise) that we actually have code in the Read More...
Posted 28 July 04 06:52 by BradA | 20 Comments   
Filed under
System.Uri and MarshalByRefObject
As you might have noticed, in V1.0 and V1.1 System.Uri is MarshalByRef … Some of you noticed this and thought it was odd, as did I because MarshalByRef is suppose t o be only for types that encapsulate external resources that need to be shared across Read More...
Posted 27 July 04 08:14 by BradA | 6 Comments   
Filed under
New FxCop rules from the community
Four or so years ago when we got serious about FxCop internally one of the main design points we had is that the community would not only find value in the rules we created, but would also add their own. I see today that at least one person has started Read More...
The Exception.GetType() answer
Lots of good feedback and ideas … but here is the answer I got from the developers here.. Well, as with many odd things in the framework, it has to do with ComInterop; specifically ComInterop and backwards compatibility. Don’t get me wrong, Read More...
Posted 16 July 04 05:34 by BradA | 2 Comments   
Filed under
The Exception.GetType() mystery
Spelunking through the Framework one day, I noticed that, new in Whidbey, System.Exception has this method: public new Type GetType(){ return base.GetType(); } Wow, how odd I thought. Adding a newslot to re-define Object’s GetType method then just Read More...
Posted 16 July 04 11:03 by BradA | 8 Comments   
Filed under
C++ joins the ECMA fun!
I see from Buddhike ’s blog that the candidate C++/CLI Language Specification has been released. What do you think? Read More...
Posted 12 July 04 12:58 by BradA | 3 Comments   
Filed under
NullReferenceException or ArgumentNullException
The API Design Guidelines encourage developers to check all their arguments and thereby avoid throwing a NullReferenceException. If an argument is null and the contract of the method forbids null arguments an ArgumentNullException should be thrown. I Read More...
Joe Duffy joins the CLR team
I have been negligent in announcing that Joe Duffy recently joined the CLR team to focus on bringing WinFX together. As you can see from his blog , he is starting to settle in. What would you like to see Joe take on in the WinFX, Design Guidelines, managed Read More...
Posted 10 July 04 09:06 by BradA | 5 Comments   
Filed under ,
PowerCollections are happening!
Wow – how did I miss that – Peter has already started blogging about the PowerCollections project! Peter talks a about how to provide feedback on this project… It is my hope that you take him up on that… I would like to get some Read More...
Posted 09 July 04 08:03 by BradA | 5 Comments   
Filed under
Extending the screensaver in C# Express Beta1
Note: I updated for “correct“ naming for Express... marketing folks, let me know if I got it right this time ;-) Friday was the CLR PM team’s appbuilding day. I decided to pull my head out of WinFX land and check out C# Express Beta1 Read More...
Posted 07 July 04 05:50 by BradA | 3 Comments   
Filed under
Want to be my buddy?
The ISV Buddy Program is now part of the MSDN ISV Community Center site. From this site, ISVs can sign themselves up to be matched with a Microsoft employee as well as find the latest news, insights, and ideas on building solutions on Microsoft platforms. Read More...
Posted 06 July 04 07:53 by BradA | 13 Comments   
Filed under
Naming generic type parameters: Dictionary or Dictionary
There is a good debate going on over in the Whidbey product feedback site . I encourage you to go and chime in one way or another… The team is watching the thread there and looking for feedback. On the surface this looks like a simple issue (more Read More...
"Can not" or "Cannot"?
We had a little debate internally on the correct spelling for “can not” in exception message strings. One of the testers actually dug up a series of bugs where we changed one message back and forth several times. Well, I am happy to say that Read More...
More on Perf and Productivity
Anthony Moore , Dev Lead for the BCL team posted a great comment on Rico’s latest quiz … It was so good I could not let it be buried there, so I thought I’d re-post it here… I am sure it will generate some comments ;-) I am a colleague Read More...
Posted 01 July 04 08:21 by BradA | 4 Comments   
Filed under
Breaking Changes from V1.1 to Whidbey Beta1
The team has worked incredibly hard to ensure that every V1.1 application works great on Whidbey, but there are a handful of issues mostly related to security and correctness that we felt like we had to fix. Kit just got this list published . We also Read More...
Posted 01 July 04 01:39 by BradA | 10 Comments   
Filed under

Search

Go

This Blog

Syndication

Page view tracker