Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaharPrishMSFT committed Sep 26, 2024
2 parents 9f6d74d + 58a63a5 commit bbf8cce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,11 @@ public class MyClass
#### Code fix available
A code fix is available for SE1030 and SE1031 - will add required to properties that are missing it.

#### SE1040: ObsoleteELementsShouldBeHidden

**What it looks for**: When an entity is marked with the [Obsolete] attribute, but not with the [EditorBrowsable(EditorBrowsableState.Never)] attribute

**Why**: When obsoleting an entity, it's preferable that developers stop seeing it in their intellisense. Note that if it needs to be visible, the developer may also decide to use other values of EditorBrowsableState.

**How it helps engineering**: Less chance of deprecated elements being used in new code.

0 comments on commit bbf8cce

Please sign in to comment.