I'm passing an HtmlNode as a method argument, and getting the following warning:
Argument type 'HtmlAgilityPack.HtmlNode' is not CLS-compliant
My assembly is marked as being CLS compliant. I got rid of the warning by marking the method as not CLS compliant per this post on
[CLSCompliantAttribute( false )]
I searched the discussions and issues and didn't really find anything on this issue, just wondering if there is a better solution, and if this is a known issue.
Maybe nobody else has marked their assemblies as CLS compliant? I use FX-Cop and it complains about that, so that's why I have marked my assembly that way.