41 references to Default
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\AddAccessibilityModifiers\AbstractAddAccessibilityModifiersCodeFixProvider.cs (1)
32
: CodeActionPriority.
Default
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\MakeAnonymousFunctionStatic\CSharpMakeAnonymousFunctionStaticCodeFixProvider.cs (1)
33
context.Diagnostics[0].Severity > DiagnosticSeverity.Hidden ? CodeActionPriority.
Default
: CodeActionPriority.Low);
src\Analyzers\CSharp\CodeFixes\RemoveUnreachableCode\CSharpRemoveUnreachableCodeCodeFixProvider.cs (1)
37
: CodeActionPriority.
Default
;
src\Analyzers\CSharp\CodeFixes\UseExpressionBody\UseExpressionBodyCodeFixProvider.cs (1)
45
: CodeActionPriority.
Default
;
Microsoft.CodeAnalysis.CSharp.Features (7)
ConvertProgram\ConvertToProgramMainCodeFixProvider.cs (1)
43
: CodeActionPriority.
Default
;
ConvertProgram\ConvertToTopLevelStatementsCodeFixProvider.cs (1)
43
: CodeActionPriority.
Default
;
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (1)
131
priority = CodeActionPriority.
Default
;
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (1)
101
var priority = AllEscapesAreQuotes(characters) ? CodeActionPriority.
Default
: CodeActionPriority.Low;
src\Analyzers\CSharp\CodeFixes\MakeAnonymousFunctionStatic\CSharpMakeAnonymousFunctionStaticCodeFixProvider.cs (1)
33
context.Diagnostics[0].Severity > DiagnosticSeverity.Hidden ? CodeActionPriority.
Default
: CodeActionPriority.Low);
src\Analyzers\CSharp\CodeFixes\RemoveUnreachableCode\CSharpRemoveUnreachableCodeCodeFixProvider.cs (1)
37
: CodeActionPriority.
Default
;
src\Analyzers\CSharp\CodeFixes\UseExpressionBody\UseExpressionBodyCodeFixProvider.cs (1)
45
: CodeActionPriority.
Default
;
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActionsSource_Async.cs (1)
324
CodeActionPriority.
Default
=> SuggestedActionSetPriority.Medium,
Microsoft.CodeAnalysis.Features (6)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
95
var priority = isDebuggerDisplayMethod ? CodeActionPriority.
Default
: CodeActionPriority.Low;
CodeFixes\AbstractConfigurationActionWithNestedActions.cs (1)
28
internal virtual CodeActionPriority AdditionalPriority => CodeActionPriority.
Default
;
ExtractClass\ExtractClassWithDialogCodeAction.cs (1)
42
private readonly CodeActionPriority _priority = selectedMembers.IsEmpty ? CodeActionPriority.
Default
: CodeActionPriority.Low;
src\Analyzers\Core\CodeFixes\AddAccessibilityModifiers\AbstractAddAccessibilityModifiersCodeFixProvider.cs (1)
32
: CodeActionPriority.
Default
;
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (1)
128
: base(title, createChangedSolution, equivalenceKey: null, priority: CodeActionPriority.
Default
, createdFromFactoryMethod: true)
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
67
: CodeActionPriority.
Default
;
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
273
/// cref="CodeActionPriority.
Default
"/> by default. The only exception is the case where a <see
Handler\CodeActions\CodeActionHelpers.cs (1)
421
CodeActionPriority.
Default
=> LSP.VSInternalPriorityLevel.Normal,
Microsoft.CodeAnalysis.Workspaces (21)
CodeActions\CodeAction.cs (19)
86
/// <see cref="CodeActionPriority.
Default
"/> if not overridden.
100
priority = CodeActionPriority.
Default
;
137
/// cref="CodeActionPriority.High"/> may be downgraded to <see cref="CodeActionPriority.
Default
"/> as they
141
=> CodeActionPriority.
Default
;
503
=> Create(title, createChangedDocument, equivalenceKey, CodeActionPriority.
Default
);
508
public static CodeAction Create(string title, Func<CancellationToken, Task<Document>> createChangedDocument, string? equivalenceKey = null, CodeActionPriority priority = CodeActionPriority.
Default
)
513
public static CodeAction Create(string title, Func<IProgress<CodeAnalysisProgress>, CancellationToken, Task<Document>> createChangedDocument, string? equivalenceKey = null, CodeActionPriority priority = CodeActionPriority.
Default
)
533
=> Create(title, createChangedSolution, equivalenceKey, CodeActionPriority.
Default
);
543
public static CodeAction Create(string title, Func<CancellationToken, Task<Solution>> createChangedSolution, string? equivalenceKey = null, CodeActionPriority priority = CodeActionPriority.
Default
)
548
public static CodeAction Create(string title, Func<IProgress<CodeAnalysisProgress>, CancellationToken, Task<Solution>> createChangedSolution, string? equivalenceKey = null, CodeActionPriority priority = CodeActionPriority.
Default
)
568
=> Create(title, nestedActions, isInlinable, priority: CodeActionPriority.
Default
);
573
public static CodeAction Create(string title, ImmutableArray<CodeAction> nestedActions, bool isInlinable, CodeActionPriority priority = CodeActionPriority.
Default
)
623
CodeActionPriority priority = CodeActionPriority.
Default
)
632
CodeActionPriority priority = CodeActionPriority.
Default
)
677
CodeActionPriority priority = CodeActionPriority.
Default
)
686
CodeActionPriority priority = CodeActionPriority.
Default
)
712
CodeActionPriority priority = CodeActionPriority.
Default
)
721
CodeActionPriority priority = CodeActionPriority.
Default
)
742
CodeActionPriority priority = CodeActionPriority.
Default
)
CodeActions\CodeActionPriority.cs (2)
24
/// Low priority code action. Will show up after <see cref="
Default
"/> priority items.
35
/// The core engine may automatically downgrade these items to <see cref="
Default
"/> priority.