-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c5fedc
commit 1f3da6e
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- Partial classes are ignored entirely, as source generators often use them. | ||
- Classes with names ending in `Command`, `Message`, or `Event` are ignored as messaging libraries often use them. | ||
- Subclasses of `System.Exception` are ignored; even an empty Exception class can provide helpful information by its type name alone. | ||
- Subclasses of `System.Attribute` and classes annotated with attributes are ignored. | ||
- Subclasses of generic classes are ignored, as they can be used for type specialization even when empty. | ||
Subclasses of certain framework types — like the `PageModel` class used in ASP.NET Core Razor Pages — are ignored. | ||
- Subclass of a class with non-public default constructors are ignored, as they widen the constructor accessibility. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters