In MSDN Diagnostics.FileVersionInfo it says that, for example, ProductMinorPart returns an int or null if the value is undefined. However it’s not a Nullable<int> – how can it return null?
I checked with ILDasm, and the definition is a normal int, no Nullable…
Am I missing something?
No, you don’t appear to be missing something. I’d say the documentation is inaccurate.
It appears that the property returns 0 if the minor part is missing, or if the entire version is missing all together.