- Why not use the obsolete atrribute?
- You can use task list with comments. Just use of the keywords defined here
Define warnings for using properties (as attribute?) in C#
-
02-12-2021 - |
Вопрос
I want to raise warnings, if certain properties are used in the code. I could use the obsolete-attribute. But the used properties aren't obsolete, thus it wouldn't be that correct to give an obsolete warning. How can I define own warnings for some properties that are printed during compilation, when the property is used?
Решение
Не связан с StackOverflow