Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.)
Affected platform version
Mono.Android.dll 31.0.101-preview.11.117
Description
Paint.Color setter is annotated with [SupportedOSPlatform("android29.0")]

which causing false positive warning for each call of the API, from the PR review comment setColor(int) was added in API 1 and then they added a long overload in API 29.
Steps to Reproduce
- Open a project where CA1416 is enabled
- Try set a Color for Paint
var paint = new Paint();
paint.Color = _endColor;
- See CA1416 warning
Did you find any workaround?
No response
Relevant log output
No response
CC @PureWeen
Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.)
Affected platform version
Mono.Android.dll 31.0.101-preview.11.117
Description
Paint.Color setter is annotated with

[SupportedOSPlatform("android29.0")]which causing false positive warning for each call of the API, from the PR review comment
setColor(int) was added in API 1 and then they added a long overload in API 29.Steps to Reproduce
Did you find any workaround?
No response
Relevant log output
No response
CC @PureWeen