- Namespace
- Cake
.Addin .Analyzer .CodeFixes - Containing Type
- BaseCodeFixProvider
Syntax
protected static Task<TDeclaration> FindDeclarationAsync<TDeclaration>(CodeFixContext context, Diagnostic diagnostic)
where TDeclaration : SyntaxNode
Type Parameters
| Name | Description |
|---|---|
| TDeclaration |
Parameters
| Name | Type | Description |
|---|---|---|
| context | CodeFixContext | |
| diagnostic | Diagnostic |
Return Value
| Type | Description |
|---|---|
| Task |