Using Visual Studio for Mac, earlier developers were able to set "Android API Usage issues" as Errors during compile time, instead of causing exceptions during runtime.
Before
You can see it in this old post, and here's the way it used to look:
After
But as you can see in the Code Rules section now, there's no easy way to do this like before:
Question
Do you know what I can put in the code rules text box now to get those errors?