I have a Microsoft Extended Correctness Rules for my Xamarin.IOS project. When I analyzed, I had a lot of problems:
- CA2123 . Add the following security attribute to
BooleanNegationConverter.Convert(object, Type, object, CultureInfo) to match the LinkDemand base method of IMvxValueConverter.Convert(object, Type, object, CultureInfo) : SecurityCriticalAttribute .
Why do I need to set security attributes? For what? Or should I do this?
- CA2134 . A transparent or safe critical method
.get() is a critical method [simple self interface].get() in violation of the method override rules. .get() must become security critical in order to override a critical virtual method or implement a critical interface method.
The same ... How can I fix this for an iOS project? Why do I have this problem.
Thanks!
source share