47 references to CodeActionEquivalenceKey
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
42
.WhereAsArray(d => this.IncludeDiagnosticDuringFixAll(d, document, fixAllContext.
CodeActionEquivalenceKey
, fixAllContext.CancellationToken))
Microsoft.CodeAnalysis.Analyzers (6)
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.FixAllProvider.cs (2)
65
if (fixAllContext.
CodeActionEquivalenceKey
== CodeAnalysisDiagnosticsResources.EnableAnalyzerReleaseTrackingRuleTitle)
71
return new FixAllAdditionalDocumentChangeAction(fixAllContext.Scope, fixAllContext.Solution, diagnosticsToFix, fixAllContext.
CodeActionEquivalenceKey
);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.CustomFixAllProvider.cs (3)
33
if (fixAllContext.
CodeActionEquivalenceKey
!.EndsWith(SourceDocumentEquivalenceKeySuffix, StringComparison.Ordinal))
39
Debug.Assert(fixAllContext.
CodeActionEquivalenceKey
.EndsWith(AdditionalDocumentEquivalenceKeySuffix, StringComparison.Ordinal));
78
return new FixAllAdditionalDocumentChangeAction(fixAllContext.Scope, fixAllContext.Solution, diagnosticsToFix, fixAllContext.
CodeActionEquivalenceKey
);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
42
.WhereAsArray(d => this.IncludeDiagnosticDuringFixAll(d, document, fixAllContext.
CodeActionEquivalenceKey
, fixAllContext.CancellationToken))
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (1)
452
await this.FixAllAsync(document, diagnostics, context.
CodeActionEquivalenceKey
, context.CancellationToken).ConfigureAwait(false));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
42
.WhereAsArray(d => this.IncludeDiagnosticDuringFixAll(d, document, fixAllContext.
CodeActionEquivalenceKey
, fixAllContext.CancellationToken))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\RemoveConfusingSuppression\CSharpRemoveConfusingSuppressionCodeFixProvider.cs (1)
98
context.
CodeActionEquivalenceKey
== NegateExpression,
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\RemoveConfusingSuppression\CSharpRemoveConfusingSuppressionCodeFixProvider.cs (1)
98
context.
CodeActionEquivalenceKey
== NegateExpression,
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorFixAllProvider.cs (1)
41
var removeMembers = originalContext.
CodeActionEquivalenceKey
== nameof(CSharpCodeFixesResources.Use_primary_constructor_and_remove_members);
Microsoft.CodeAnalysis.Features (6)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (5)
29
if (NestedSuppressionCodeAction.IsEquivalenceKeyForLocalSuppression(fixAllContext.
CodeActionEquivalenceKey
))
36
if (NestedSuppressionCodeAction.IsEquivalenceKeyForGlobalSuppression(fixAllContext.
CodeActionEquivalenceKey
))
39
var title = fixAllContext.
CodeActionEquivalenceKey
;
49
if (NestedSuppressionCodeAction.IsEquivalenceKeyForPragmaWarning(fixAllContext.
CodeActionEquivalenceKey
))
55
if (NestedSuppressionCodeAction.IsEquivalenceKeyForRemoveSuppression(fixAllContext.
CodeActionEquivalenceKey
))
src\roslyn\src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (1)
452
await this.FixAllAsync(document, diagnostics, context.
CodeActionEquivalenceKey
, context.CancellationToken).ConfigureAwait(false));
Microsoft.CodeAnalysis.NetAnalyzers (22)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DefineAccessorsForAttributeArguments.Fixer.cs (1)
29
static fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDirectlyAwaitATask.Fixer.cs (1)
87
var useConfigureAwaitTrue = fixAllContext.
CodeActionEquivalenceKey
== nameof(AppendConfigureAwaitTrue);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumWithFlagsAttribute.Fixer.cs (1)
52
fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EquatableAnalyzer.Fixer.cs (1)
34
static fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAttributesWithAttributeUsage.Fixer.cs (1)
30
static fixAllContext => GetAttributeTargetValue(fixAllContext.
CodeActionEquivalenceKey
),
Microsoft.NetCore.Analyzers\InteropServices\DynamicInterfaceCastableImplementation.Fixer.cs (1)
24
=> SyntaxEditorFixAllProvider.Create<string?>(context => context.
CodeActionEquivalenceKey
, ApplyFixAsync);
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsed.Fixer.cs (1)
47
=> SyntaxEditorFixAllProvider.Create<string?>(context => context.
CodeActionEquivalenceKey
, ApplyFixAsync);
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (1)
36
=> SyntaxEditorFixAllProvider.Create<FixAllState>(context => new FixAllState(context.
CodeActionEquivalenceKey
), ApplyFixAsync);
Microsoft.NetCore.Analyzers\Performance\PreferLengthCountIsEmptyOverAny.Fixer.cs (1)
24
static fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.NetCore.Analyzers\Performance\PreferReadOnlySpanOverSpan.Fixer.cs (1)
30
fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.Fixer.cs (1)
36
fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.NetCore.Analyzers\Runtime\InstantiateArgumentExceptionsCorrectly.Fixer.cs (1)
33
=> SyntaxEditorFixAllProvider.Create<string?>(context => context.
CodeActionEquivalenceKey
, ApplyFixAsync);
Microsoft.NetCore.Analyzers\Runtime\PreferDictionaryContainsMethods.Fixer.cs (1)
23
static fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.NetCore.Analyzers\Runtime\PreferStreamAsyncMemoryOverloads.Fixer.cs (1)
57
=> SyntaxEditorFixAllProvider.Create<string?>(context => context.
CodeActionEquivalenceKey
, ApplyFixAsync);
Microsoft.NetCore.Analyzers\Runtime\PreferTypedStringBuilderAppendOverloads.Fixer.cs (1)
31
=> SyntaxEditorFixAllProvider.Create<string?>(context => context.
CodeActionEquivalenceKey
, ApplyFixAsync);
Microsoft.NetCore.Analyzers\Runtime\SpecifyCultureForToLowerAndToUpper.Fixer.cs (1)
25
static fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.NetCore.Analyzers\Runtime\TestForEmptyStringsUsingStringLength.Fixer.cs (1)
31
=> SyntaxEditorFixAllProvider.Create<string?>(context => context.
CodeActionEquivalenceKey
, ApplyFixAsync);
Microsoft.NetCore.Analyzers\Runtime\UseEnvironmentMembersFixer.cs (1)
31
static fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
Microsoft.NetCore.Analyzers\Runtime\UseRegexMembersFixer.cs (1)
36
=> SyntaxEditorFixAllProvider.Create<string?>(context => context.
CodeActionEquivalenceKey
, ApplyFixAsync);
Microsoft.NetCore.Analyzers\Usage\DoNotPassNonNullableValueToArgumentNullExceptionThrowIfNull.Fixer.cs (1)
31
static fixAllContext => fixAllContext.
CodeActionEquivalenceKey
,
SyntaxEditorFixAllProvider.cs (2)
66
/// does not filter by <see cref="FixAllContext.
CodeActionEquivalenceKey
"/>. A fixer that registers more
122
/// <see cref="FixAllContext.
CodeActionEquivalenceKey
"/> - <see cref="DocumentBasedFixAllProvider"/> does
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
154
var action = GetRegisterCodeFixAction(fixAllContext.
CodeActionEquivalenceKey
, codeActions);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
42
.WhereAsArray(d => this.IncludeDiagnosticDuringFixAll(d, document, fixAllContext.
CodeActionEquivalenceKey
, fixAllContext.CancellationToken))
Microsoft.Interop.ComInterfaceGenerator (2)
src\runtime\src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
168
var options = Option.ParseOptionsFromEquivalenceKey(fixAllContext.
CodeActionEquivalenceKey
);
219
equivalenceKey: fixAllContext.
CodeActionEquivalenceKey
);
Microsoft.Interop.LibraryImportGenerator (2)
src\runtime\src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
168
var options = Option.ParseOptionsFromEquivalenceKey(fixAllContext.
CodeActionEquivalenceKey
);
219
equivalenceKey: fixAllContext.
CodeActionEquivalenceKey
);
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
42
.WhereAsArray(d => this.IncludeDiagnosticDuringFixAll(d, document, fixAllContext.
CodeActionEquivalenceKey
, fixAllContext.CancellationToken))