Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Why static long field initialized improperly in XForms.UWP?

$
0
0

Initializing a static long field with 0xFFFFFFFF value properly assigned in debug mode, but in release mode value is converted into -1.

static readonly long Test= 0xFFFFFFFFL;

Whereas defining the long field as non-static or as constant works properly in both debug and release mode. What is the reason for this behavior difference in XForms.UWP?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>