51 references to SyntaxEditorFixAllProvider
Microsoft.CodeAnalysis.NetAnalyzers (51)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DefineAccessorsForAttributeArguments.Fixer.cs (2)
28=> SyntaxEditorFixAllProvider.Create<string?>( 54cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumWithFlagsAttribute.Fixer.cs (2)
42ct => SyntaxEditorFixAllProvider.ApplyFixesAsync(context.Document, ImmutableArray.Create(diagnostic), ApplyFixAsync, ct), 51=> SyntaxEditorFixAllProvider.Create<string?>(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EquatableAnalyzer.Fixer.cs (3)
33=> SyntaxEditorFixAllProvider.Create<string?>( 70cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync( 83cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAttributesWithAttributeUsage.Fixer.cs (2)
29=> SyntaxEditorFixAllProvider.Create<string?>( 57cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideEqualsAndOperatorEqualsOnValueTypes.Fixer.cs (2)
29=> SyntaxEditorFixAllProvider.Create<HashSet<SyntaxNode>>( 45return SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UriParametersShouldNotBeStrings.Fixer.cs (2)
35=> SyntaxEditorFixAllProvider.Create<HashSet<string>>( 52return SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\InteropServices\DynamicInterfaceCastableImplementation.Fixer.cs (2)
24=> SyntaxEditorFixAllProvider.Create<string?>(context => context.CodeActionEquivalenceKey, ApplyFixAsync); 51cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsed.Fixer.cs (3)
44/// itself -- <see cref="SyntaxEditorFixAllProvider"/> does not. 47=> SyntaxEditorFixAllProvider.Create<string?>(context => context.CodeActionEquivalenceKey, ApplyFixAsync); 74ct => SyntaxEditorFixAllProvider.ApplyFixesAsync(document, diagnostics, (doc, diag, editor, token) => ApplyFixAsync(doc, diag, editor, title, token), ct),
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (3)
36=> SyntaxEditorFixAllProvider.Create<FixAllState>(context => new FixAllState(context.CodeActionEquivalenceKey), ApplyFixAsync); 50(cancellationToken) => SyntaxEditorFixAllProvider.ApplyFixesAsync( 75/// The key of the action being applied. <see cref="SyntaxEditorFixAllProvider"/> does not filter
Microsoft.NetCore.Analyzers\Performance\PreferLengthCountIsEmptyOverAny.Fixer.cs (1)
23=> SyntaxEditorFixAllProvider.Create<string?>(
Microsoft.NetCore.Analyzers\Performance\PreferReadOnlySpanOverSpan.Fixer.cs (1)
29=> SyntaxEditorFixAllProvider.Create<string?>(
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.Fixer.cs (1)
35=> SyntaxEditorFixAllProvider.Create<string?>(
Microsoft.NetCore.Analyzers\Performance\UseSearchValues.Fixer.cs (2)
45=> SyntaxEditorFixAllProvider.Create<FixState>(_ => new FixState(), ConvertToSearchValuesAsync); 74return SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Runtime\AvoidConstArrays.Fixer.cs (2)
37=> SyntaxEditorFixAllProvider.Create<HashSet<string>>(_ => new HashSet<string>(), ExtractConstArrayAsync); 57return SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Runtime\InstantiateArgumentExceptionsCorrectly.Fixer.cs (2)
33=> SyntaxEditorFixAllProvider.Create<string?>(context => context.CodeActionEquivalenceKey, ApplyFixAsync); 53ct => SyntaxEditorFixAllProvider.ApplyFixesAsync(context.Document, context.Diagnostics,
Microsoft.NetCore.Analyzers\Runtime\PreferConstCharOverConstUnitString.Fixer.cs (2)
29=> SyntaxEditorFixAllProvider.Create<HashSet<SyntaxNode>>( 51createChangedDocument: cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Runtime\PreferDictionaryContainsMethods.Fixer.cs (2)
22=> SyntaxEditorFixAllProvider.Create<string?>( 45cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Runtime\PreferStreamAsyncMemoryOverloads.Fixer.cs (2)
57=> SyntaxEditorFixAllProvider.Create<string?>(context => context.CodeActionEquivalenceKey, ApplyFixAsync); 76cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(doc, context.Diagnostics,
Microsoft.NetCore.Analyzers\Runtime\PreferTypedStringBuilderAppendOverloads.Fixer.cs (2)
31=> SyntaxEditorFixAllProvider.Create<string?>(context => context.CodeActionEquivalenceKey, ApplyFixAsync); 50cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Runtime\SpecifyCultureForToLowerAndToUpper.Fixer.cs (2)
24=> SyntaxEditorFixAllProvider.Create<string?>( 48cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Runtime\TestForEmptyStringsUsingStringLength.Fixer.cs (2)
31=> SyntaxEditorFixAllProvider.Create<string?>(context => context.CodeActionEquivalenceKey, ApplyFixAsync); 63ct => SyntaxEditorFixAllProvider.ApplyFixesAsync(document, diagnostics, (doc, diagnostic, editor, token) => ApplyFixAsync(doc, diagnostic, editor, equivalenceKey, token), ct),
Microsoft.NetCore.Analyzers\Runtime\UseEnvironmentMembersFixer.cs (2)
30=> SyntaxEditorFixAllProvider.Create<string?>( 52cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(doc, context.Diagnostics, ApplyFixAsync, cancellationToken),
Microsoft.NetCore.Analyzers\Runtime\UseRegexMembersFixer.cs (2)
36=> SyntaxEditorFixAllProvider.Create<string?>(context => context.CodeActionEquivalenceKey, ApplyFixAsync); 58cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
Microsoft.NetCore.Analyzers\Usage\DoNotPassNonNullableValueToArgumentNullExceptionThrowIfNull.Fixer.cs (2)
30=> SyntaxEditorFixAllProvider.Create<string?>( 61cancellationToken => SyntaxEditorFixAllProvider.ApplyFixesAsync(
SyntaxEditorBasedCodeFixProvider.cs (3)
31=> SyntaxEditorFixAllProvider.Create(ApplyFixAsync); 44(cancellationToken) => SyntaxEditorFixAllProvider.ApplyFixesAsync(document, diagnostics, ApplyFixAsync, cancellationToken), 59/// overload - see the remarks on <see cref="SyntaxEditorFixAllProvider"/>.