When compiling my solution, I get several warnings of the following:
warning CS3016: Arrays as attribute arguments is not CLS-compliant
No other information on what type is not compliant is given. In my projects I have some attributes that take params array arguments in their constructors, but they are all internal, and that shouldn't affect CLS-compliance. Why is this warning being given, and what type is it being given on?
CS3016.
If you have an attribute which takes an array as argument and the project is marked as CLSCompliant you will get this warning.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With