Should SA1649 apply to delegates?

May 15, 2012 at 6:23 PM

As of 4.7.20.0, SA1649 is firing if the copyright tag isn't using the delegate's name as the file name (when there is a delegate and a class definition in the same file). Should this be the case? It doesn't make sense to me, especially if the delegate is e.g. internal.

As a side note, it seems that download URLs for at least some previous releases are missing. I tried to download 4.7.19.0 because there are a number of bugs in 20 that are causing issues for me, but I'm getting a 404 at:

<!--StartFragment--> http://www.stylecop.com/download/4.7/StyleCop-4.7.19.0.msi

Is the above the correct URL?

Coordinator
May 15, 2012 at 6:53 PM

It would be correct but that server is offline temporarily. Which bugs are bothering you in 4.7.20 and I'll fix them?

Coordinator
May 15, 2012 at 7:49 PM

And the issue above is fixed in 4.7.21 already.

May 15, 2012 at 8:21 PM

That's good news.

The other issues have all been addressed elsewhere. These include SA1015 and the ordering problems discussed here: http://stylecop.codeplex.com/discussions/355722

Coordinator
May 15, 2012 at 11:22 PM

4.7.21 is available now