ConfigurationFileWather?
Just something I thought was a bit funny/interesting. I was debugging someone's code earlier today and I happened to glance down at my threads in VS and noticed this:

Any idea of what caught my eye? Yup - the text that says: "_ConfigurationFileWatherThread". After switching to the thread, I noticed that the mistype is actually in the Enterprise Library v3.0 code, in the class called Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Storage.ConfigurationChangeFileWatcher. The method is called "BuildThreadName" and is:
protected override string BuildThreadName()
{
return "_ConfigurationFileWatherThread : " + configFilePath;
}
Since I was working with v3.0, I checked in v3.1 to see if the "bug" was fixed. Unfortunately, looking at the released source for v3.1 - it was not fixed. I know this is really picky, but I even went so far as to open an issue. <sigh>.
In any case, it's nice to know that nobody is perfect.
Technorati Tags:
.NET,
Debugging