Open
Description
openedon Sep 23, 2021
Analyzer
Diagnostic ID: RS0041: Symbol uses some oblivious reference types
Analyzer source
NuGet Package: Microsoft.CodeAnalysis.PublicApiAnalyzers
Version: 3.3.2 (Latest)
Problem
I get a lot of warnings similar to these on various Resources.Designer.cs files:
Warning RS0041 Symbol 'ResourceManager.get' uses some oblivious reference types
Since this is code generated by PublicResXFileCodeGenerator
, I have no way of annotating those generated types. I don't want to turn off RS0041 because everything else is annotated correctly. I don't see a way how to solve this except by turning of RS0041 for the whole project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment