Nullable.Extended Gallery feed (extension)
Tools to keep your nullability annotations lean and mean.
▼ Download- Author
- tom-englert.de
- Version
- 1.19.0
- Updated
- 14 days ago
- Tags
- nullable c#
- Supports
- VS 2022
Nullable Extended
A Visual Studio extension that lists all usages of the null-forgiving operator ! in your solution, categorizes them, and detects those that are still present in code but no longer needed.
Usage
Start the tool window from the tools menu:

The tool window shows all occurrences of the null-forgiving operator in your solution and their justification comments. It also shows if the null-forgiving operator is required to suppress nullable warnings. If the "Required" column is not checked, the null-forgiving operator might be obsolete and can probably be removed.

- Click the refresh button to scan your solution.
- Double click any entry to navigate to the corresponding source code.
Justification comments
A justification comment is one or more single line comments directly above the statement or declaration. The first comment line must start with // !, followed by the justification text:
// ! This is only needed to demo the feature
var text = value1!.ToString();
Occurrences are categorized like the analyzer does:
| Id | Context |
|---|---|
| NX0001 | Any other usage of the null-forgiving operator. |
| NX0002 | Null-forgiving operator on the null or default literals at any other statement. |
| NX0003 | Null-forgiving operator inside lambda expressions. |
| NX0004 | Null-forgiving operator on the null or default literals at init only property assignment. |
More
See the project page for the Roslyn analyzer, which warns about unjustified usages in the IDE and in your builds, and for an MCP server that helps AI assistants to find and fix unjustified operators in large solutions.