-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
When these source generators are used in a project with Stylecop.Analyzers, diagnostics are produced that can block adoption.
Steps to Reproduce
Install StyleCop.Analyzers into a project that uses the ThisAssembly.Resource package.
Build.
Expected Behavior
No warnings
Actual behavior
Warnings such as this:
ThisAssembly.Resource\ThisAssembly.ResourcesGenerator\ThisAssembly.Resources.EmbeddedResource.cs(8,28,8,35): warning SA1400: Element 'baseDir' should declare an access modifier (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1400.md)
Version Info
1.4.1
Additional Info
By adding /// <auto-generated /> to the top of every emitted file, other analyzers are warned away from reporting frivolous diagnostics.
rafaelsc and svause-stryker
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working