Fixed #255. [Bug] Problem with struct when using PropertyChanged attribute.

Addressed issue with "common language runtime detected an invalid program" for nullable types.