Ayende @ Rahien

Unnatural acts on source code

Something is terribly wrong here...

And the problem is with me. I kept going over this code, not seeing what was wrong with it, up until I actually read the code. Argh!

image

Comments

Markus Zywitza
08/06/2007 08:24 AM by
Markus Zywitza

...but having enough sleep is even better :-))

Dan
08/06/2007 03:04 PM by
Dan

Haha, these things look so familiar :)

Dan
08/06/2007 03:04 PM by
Dan

Haha, these things look so familiar :)

Marvin
08/06/2007 03:30 PM by
Marvin

How is this:

IList files;

if ( filesDic.TryGetValue( fileName, out files ) )

files = new List<FileInfo>( );

//do something with files

We were getting NullReferenceExceptions this morning...

Comments have been closed on this topic.