That should give an error, you're not allowed to do
public class MyClass<string>
The
type parameter declaration must be an identifier, not a type.
Check what you're compiling again to make sure you're actually compiling what you think you are.
Hope this helps,
Fredrik