We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This rule mistakenly fires for files with double postfix names, i.e.
File "AppEventReceiver.svc.cs"
That contains class: public class AppEventReceiver : AppEventReceiverBase
Will fire the rule. It shouldn't and it doesn't in the original stylecop tool. .
Fix should be fairly easy by using the filename "before the first dot" instead of "filename without extension" for matching the class name.
And thanks for a great tool :-)
The text was updated successfully, but these errors were encountered:
Thanks for the report. I think that makes sense, and it should definitely be an easy fix 👍
Sorry, something went wrong.
Well this didn't qualify as easy after all - it required modifications to the test framework to allow testing these cases. But I got it working!
Add a regression test for DotNetAnalyzers#1829
811f681
Fix handling of filename suffixes
6877292
Fixes DotNetAnalyzers#1829
Add additional tests for DotNetAnalyzers#1829
3cb77ce
Fantastic, thanks! :-)
Looking forward to RC1.
sharwell
No branches or pull requests
This rule mistakenly fires for files with double postfix names, i.e.
File "AppEventReceiver.svc.cs"
That contains class:
public class AppEventReceiver : AppEventReceiverBase
Will fire the rule. It shouldn't and it doesn't in the original stylecop tool. .
Fix should be fairly easy by using the filename "before the first dot" instead of "filename without extension" for matching the class name.
And thanks for a great tool :-)
The text was updated successfully, but these errors were encountered: