#47384·roslyn

.editorconfig 诊断抑制不适用于源生成的文件

作者: jasonmalinowski创建于 2020年9月2日更新于 2026年9月17日
标签BugArea-CompilersFeature - Source Generators

https://GitHub.com/dotnet/roslyn/pull/47252 中的失败就说明了这一点。我们在 .editorconfig 中设置了如下内容: