5

Has anyone ever seen their C# getters disappear at runtime? Ya me either. Xamarin.iOS did I find a weird bug?

This is crazy

Comments
  • 0
    Try to Clean the project (including manually deleting /bin and /obj folders) and Build again. sometimes Xamarin caching policy is toot aggressive.
  • 0
    I figured it out... There must be some optimization that ran and stripped out the getters, I wasn't explicitly using the getters, so it still compiled, however Newtonsoft. Json was relying on those to detect data.

    Each property remained after I explicitly called the getter
Add Comment