I have Microsoft Extended Correctness Rules
rule set for my Xamarin.IOS
project. When I analysed I had many troubles:
- CA2123: Add the following security attribute to
BooleanNegationConverter.Convert(object, Type, object, CultureInfo)
in order to match aLinkDemand
on base methodIMvxValueConverter.Convert(object, Type, object, CultureInfo)
:SecurityCriticalAttribute
.
Why I need set security attributes? For what? Or do I must do it?
- CA2134: Transparent or safe critical method
.get()
is overriding critical method[simple self interface].get()
in violation of 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 I can fix it for IOS project? Why I have this problem.
Thanks!