Fixed regression with .net 4.0 version.