CSharp Compiler Config #3924
-
I want to be able to enforce use and disuse of language features. As a CSharp language you cannot drop existing features. I think we all can understand that. But as a developer I can. Just give me the option to declare those choices. Similar to how the nullable reference types was introduced. Think of it as an |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Analyzers are the solution to this problem. |
Beta Was this translation helpful? Give feedback.
-
You can already configure many C#-specific coding convention preferences via EditorConfig. Many of them are basically whether or not you want to permit use of older features. So depending on the restrictions you want to impose you might not even need to make an analyzer. |
Beta Was this translation helpful? Give feedback.
-
I believe the implication is that you can write your own to suit your
specific needs.
…On Wed, 23 Sep 2020 at 15:45, Marc Jacobi ***@***.***> wrote:
What Analyzer can I use for this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3924 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIEDQOVE2FC4AVEML4SM23SHICY3ANCNFSM4RULPXBA>
.
|
Beta Was this translation helpful? Give feedback.
Analyzers are the solution to this problem.