According to the docs: http://msdn.microsoft.com/en-us/library/x13ttww7.aspx:
The volatile keyword can be applied to reference types.
So why is it illegal to use on a Nullable<T>
.. a reference type!
Please note that I do not actually need volatile semantics on a Nullable<T>
field, I encountered this error accidentally and am simply curious.