Using the latest public bits (VS2017 15.8.5, VS Tools for Tizen 1.5.0.0, Wearable (Preview) package 0.0.38) , testing on a real Galaxy Watch (SM-R800, Tizen Version 4.0.0.0, Software version R800XXU1BRH3)), when I run this code:
int result = 0;
sbyte[] v = { -1 };
result |= (v[0] & 0x000000FF);
log.WriteLine("Result using array element is " + result);
result = 0;
sbyte v3 = -1;
result |= (v3 & 0x000000FF);
log.WriteLine("Result using variable is " + result);
I get:
Result using array element is -1
Result using variable is 255
When I use the same code on Windows using .NET Core, I get 255 in both cases. It seems like a bug ... where should I report this?
Thanks,
Damian