Fixed bug: trying to set read-only property

This doesn't throw an exception on .NET 4.0, but on .NET 4.5 it does.
Merge pull request #37 from drvic10k/readonly-property

Fixed bug: trying to set read-only property