Fix SuppressMessage attributes working on primary constructors (#68706)
* Fix SuppressMessage attributes working on primary constructors * Simplify * Simplify * Use helper * update docs * update docs * Add dedicated tests * SHare code, add test * remove using * Rename
显示
- src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs 26 个添加, 3 个删除...pilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs
- src/Compilers/CSharp/Portable/Compilation/SyntaxTreeSemanticModel.cs 1 个添加, 11 个删除...rs/CSharp/Portable/Compilation/SyntaxTreeSemanticModel.cs
- src/Compilers/CSharp/Test/Semantic/Semantics/PrimaryConstructorTests.cs 211 个添加, 0 个删除...CSharp/Test/Semantic/Semantics/PrimaryConstructorTests.cs
- src/Compilers/CSharp/Test/Semantic/SourceGeneration/GeneratorDriverTests.cs 13 个添加, 2 个删除...rp/Test/Semantic/SourceGeneration/GeneratorDriverTests.cs
- src/Compilers/Core/Portable/Compilation/SemanticModel.cs 16 个添加, 6 个删除src/Compilers/Core/Portable/Compilation/SemanticModel.cs
加载中
想要评论请 注册 或 登录