Fixed an issue that was causing ShouldSerializeHashSetWithPrimitives test to fail due to the use of Callvirt IL OpCode to call a static exn

Callvirt IL OpCode was being used to call a static extension method
Enumerable.Count which appears to be invalid
(http://stackoverflow.com/questions/8885984/error-in-cil-method-not-found).