WithSimplifierAnnotation<T>(T)
Marks a syntax node for simplification (e.g., removing unnecessary namespace qualifications from type names).
Declaration
public static T WithSimplifierAnnotation<T>(this T node) where T : SyntaxNodeParameters
| Type | Name | Description |
|---|---|---|
| T | node | The node to mark. |
Returns
| Type | Description |
|---|---|
| T | The node with the simplifier annotation. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of syntax node. |