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);
5 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);