C# Conditional Statement Now Failing On Multi-Dimensional Arrays? Beta Channel 5.5

To test, I wrote this:

float[,] temp = new float[1,1]; temp[0,0] = 1.0f; temp2 = (i == 0) ? temp[0,0] : 2.0f;

What was working immediately before todays update, is now failing. Other conditional operations are working fine.

Error is:
Parser Error: Unexpected symbol '?'

Xamarin Studio has been restarted after update. Project has been cleaned.

Has anybody else noticed this, or able to reproduce the problem?

Posts

Sign In or Register to comment.