Just stumbled upon a tricky change which happens to your assemblies when you're running your tests with Code Coverage enabled. Take the following piece of code: var types = typeof(Program).Assembly.GetExportedTypes(); foreach (Type t in types) { // ... } In our case the behavior of the