Property | Type | Description | |
---|---|---|---|
CodeDiagnosticDescriptor | System | ||
CodeDiagnosticDescriptor | System | ||
GetIsEnabled | bool | ||
GetSeverity | DiagnosticSeverity | ||
RunAction | void | ||
SetIsEnabled | void | ||
SetSeverity | void |
Method | Description | |
---|---|---|
DisableWithFile ( TextEditor editor, DocumentContext context, Diagnostic fix, |
||
DisableWithPragma ( TextEditor editor, DocumentContext context, Diagnostic fix, |
||
GetProvider ( ) : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer |
Gets the roslyn code action provider.
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
CodeDiagnosticDescriptor ( ) : System | ||
CodeDiagnosticDescriptor ( Microsoft descriptor, string languages, |
||
GetIsEnabled ( Microsoft.CodeAnalysis.DiagnosticDescriptor diagnostic ) : bool | ||
GetSeverity ( Microsoft.CodeAnalysis.DiagnosticDescriptor diagnostic ) : DiagnosticSeverity | ||
RunAction ( DocumentContext context, Microsoft.CodeAnalysis.CodeActions.CodeAction action, |
||
SetIsEnabled ( Microsoft.CodeAnalysis.DiagnosticDescriptor diagnostic, bool value ) : void | ||
SetSeverity ( Microsoft.CodeAnalysis.DiagnosticDescriptor diagnostic, DiagnosticSeverity severity ) : void |
public DisableWithFile ( TextEditor editor, DocumentContext context, Diagnostic fix, |
||
editor | TextEditor | |
context | DocumentContext | |
fix | Diagnostic | |
cancellationToken | ||
return | void |
public DisableWithPragma ( TextEditor editor, DocumentContext context, Diagnostic fix, |
||
editor | TextEditor | |
context | DocumentContext | |
fix | Diagnostic | |
cancellationToken | ||
return | void |
public GetProvider ( ) : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer | ||
return | Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer |