47 overrides of ApplyFixAsync
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (4)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\CSharpStaticHolderTypes.Fixer.cs (1)
37
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\CSharpDoNotInitializeUnnecessarily.Fixer.cs (1)
31
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\CSharpCollapseMultiplePathOperations.Fixer.cs (1)
50
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\CSharpAvoidRedundantRegexIsMatchBeforeMatch.Fixer.cs (1)
61
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.NetAnalyzers (43)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\AbstractTypesShouldNotHaveConstructors.Fixer.cs (1)
39
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumStorageShouldBeInt32.Fixer.cs (1)
30
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ExceptionsShouldBePublic.Fixer.cs (1)
29
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ImplementStandardExceptionConstructors.Fixer.cs (1)
46
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OperatorOverloadsHaveNamedAlternates.Fixer.cs (1)
33
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OperatorsShouldHaveSymmetricalOverloads.Fixer.cs (1)
37
protected sealed override async Task
ApplyFixAsync
(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverloadOperatorEqualsOnOverridingValueTypeEquals.Fixer.cs (1)
32
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideEqualsOnOverloadingOperatorEquals.Fixer.cs (1)
26
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideGetHashCodeOnOverridingEquals.Fixer.cs (1)
26
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideMethodsOnComparableTypes.Fixer.cs (1)
51
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\TypesThatOwnDisposableFieldsShouldBeDisposable.Fixer.cs (1)
40
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEnd.Fixer.cs (1)
43
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidUnusedPrivateFields.Fixer.cs (1)
30
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\Maintainability\MakeTypesInternal.Fixer.cs (1)
26
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\Maintainability\UseCrossPlatformIntrinsicsFixer.cs (1)
29
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\Maintainability\UseNameofInPlaceOfString.Fixer.cs (1)
40
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\RemoveEmptyFinalizers.Fixer.cs (1)
30
protected override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\RethrowToPreserveStackDetails.Fixer.cs (1)
40
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\UseLiteralsWhereAppropriate.Fixer.cs (1)
38
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\InteropServices\ProvidePublicParameterlessSafeHandleConstructor.Fixer.cs (1)
29
protected override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\InteropServices\SpecifyMarshalingForPInvokeStringArguments.Fixer.cs (1)
44
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\DoNotGuardCall.Fixer.cs (1)
41
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\PreferConvertToHexStringOverBitConverter.Fixer.cs (1)
60
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\PreferIsEmptyOverCount.Fixer.cs (1)
41
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\UsePropertyInsteadOfCountMethodWhenAvailable.Fixer.cs (1)
53
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\UseSpanClearInsteadOfFIll.Fixer.cs (1)
38
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\UseStartsWithInsteadOfIndexOfComparisonWithZero.Fixer.cs (1)
30
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\UseStringContainsCharOverloadWithSingleCharacters.Fixer.cs (1)
35
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Performance\UseStringMethodCharOverloadWithSingleCharacters.Fixer.cs (1)
37
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\AvoidUnreliableStreamRead.Fixer.cs (1)
48
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\AvoidUnsealedAttributes.Fixer.cs (1)
30
protected override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\AvoidZeroLengthArrayAllocations.Fixer.cs (1)
34
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\ForwardCancellationTokenToInvocations.Fixer.cs (1)
66
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\MarkISerializableTypesWithSerializable.Fixer.cs (1)
32
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\PreferJsonElementParse.Fixer.cs (1)
46
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\PreferStringContainsOverIndexOf.Fixer.cs (1)
42
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\TestForNaNCorrectly.Fixer.cs (1)
34
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\UseOrdinalStringComparison.Fixer.cs (1)
57
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\UseSpanBasedStringConcat.Fixer.cs (1)
48
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.Fixer.cs (1)
43
protected override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Tasks\DoNotCreateTaskCompletionSourceWithWrongArguments.Fixer.cs (1)
42
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Usage\DoNotCompareSpanToNull.Fixer.cs (1)
30
protected sealed override Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
Microsoft.NetCore.Analyzers\Usage\UseVolatileReadWrite.Fixer.cs (1)
43
protected sealed override async Task
ApplyFixAsync
(Document document, Diagnostic diagnostic, SyntaxEditor editor, CancellationToken cancellationToken)
3 references to ApplyFixAsync
Microsoft.CodeAnalysis.NetAnalyzers (3)
SyntaxEditorBasedCodeFixProvider.cs (3)
31
=> SyntaxEditorFixAllProvider.Create(
ApplyFixAsync
);
34
/// Registers an action applying <see cref="
ApplyFixAsync
"/> to every diagnostic in
44
(cancellationToken) => SyntaxEditorFixAllProvider.ApplyFixesAsync(document, diagnostics,
ApplyFixAsync
, cancellationToken),