Fixed wrong code generated for indexers in value types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #272 from ddobrev/master

Fixed wrong code generated for indexers in value types