Xamarin Studio Source Analysis "const" issue

Using this line:

const int MinValue = 0;

Source Analysis suggests to remove the redundant field initializer. However, if I remove the initialization the compiler produces an error as a const variable needs to be initialized. I guess Source Analysis isn't properly fine tuned here.


  • mhutchmhutch USMember, Xamarin Team Xamurai

    Thanks for the report, I've filed it as bug 10753. (If you file directly in future, there's less chance it'll be missed).

  • ncalvetncalvet ESMember, Beta

    Thanks @mhutch. I'll try to remember and post issues myself to bugzilla.

Sign In or Register to comment.