2 instantiations of FixAllState
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (2)
36
=> SyntaxEditorFixAllProvider.Create<FixAllState>(context => new
FixAllState
(context.CodeActionEquivalenceKey), ApplyFixAsync);
46
var state = new
FixAllState
(equivalenceKey);
7 references to FixAllState
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (2)
52
protected override async Task ApplyFixAsync(Document document, Diagnostic diagnostic, SyntaxEditor editor,
FixAllState
state, CancellationToken cancellationToken)
184
private static void ApplyTryGetValueFix(SyntaxEditor editor, SemanticModel model,
FixAllState
state, TryGetValueFix fix, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (3)
36
=> SyntaxEditorFixAllProvider.Create<
FixAllState
>(context => new FixAllState(context.CodeActionEquivalenceKey), ApplyFixAsync);
46
var
state = new FixAllState(equivalenceKey);
60
protected abstract Task ApplyFixAsync(Document document, Diagnostic diagnostic, SyntaxEditor editor,
FixAllState
state, CancellationToken cancellationToken);
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\BasicPreferDictionaryTryMethodsOverContainsKeyGuardFixer.vb (2)
37
Protected Overrides Async Function ApplyFixAsync(document As Document, diagnostic As Diagnostic, editor As SyntaxEditor, state As
FixAllState
, cancellationToken As CancellationToken) As Task
153
Private Shared Sub ApplyTryGetValueFix(editor As SyntaxEditor, semanticModel As SemanticModel, state As
FixAllState
, fix As TryGetValueFix, cancellationToken As CancellationToken)