2 overrides of ApplyFixAsync
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (1)
52
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, FixAllState state, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\BasicPreferDictionaryTryMethodsOverContainsKeyGuardFixer.vb (1)
37
Protected Overrides Async Function
ApplyFixAsync
(document As Document, diagnostic As Diagnostic, editor As SyntaxEditor, state As FixAllState, cancellationToken As CancellationToken) As Task
3 references to ApplyFixAsync
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (3)
36
=> SyntaxEditorFixAllProvider.Create<FixAllState>(context => new FixAllState(context.CodeActionEquivalenceKey),
ApplyFixAsync
);
39
/// Registers an action applying <see cref="
ApplyFixAsync
"/> to every diagnostic in
53
(fixDocument, fixDiagnostic, editor, token) =>
ApplyFixAsync
(fixDocument, fixDiagnostic, editor, state, token),