The solution is so simple I would like not to tell you about it, but just in case it will help someone here it goes :
typeof(int?).GetGenericTypeDefinition() == typeof(Nullable<>)
The example is from something I needed to find out. Whenever you generate a nullable type it gets converted by the compiler into a Nullable
Enjoy and take care.