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)
33context.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)
131priority = CodeActionPriority.Default;
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (1)
101var priority = AllEscapesAreQuotes(characters) ? CodeActionPriority.Default : CodeActionPriority.Low;
src\Analyzers\CSharp\CodeFixes\MakeAnonymousFunctionStatic\CSharpMakeAnonymousFunctionStaticCodeFixProvider.cs (1)
33context.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)
324CodeActionPriority.Default => SuggestedActionSetPriority.Medium,
Microsoft.CodeAnalysis.Features (6)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
95var priority = isDebuggerDisplayMethod ? CodeActionPriority.Default : CodeActionPriority.Low;
CodeFixes\AbstractConfigurationActionWithNestedActions.cs (1)
28internal virtual CodeActionPriority AdditionalPriority => CodeActionPriority.Default;
ExtractClass\ExtractClassWithDialogCodeAction.cs (1)
42private 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)
421CodeActionPriority.Default => LSP.VSInternalPriorityLevel.Normal,
Microsoft.CodeAnalysis.Workspaces (21)
CodeActions\CodeAction.cs (19)
86/// <see cref="CodeActionPriority.Default"/> if not overridden. 100priority = 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); 508public static CodeAction Create(string title, Func<CancellationToken, Task<Document>> createChangedDocument, string? equivalenceKey = null, CodeActionPriority priority = CodeActionPriority.Default) 513public 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); 543public static CodeAction Create(string title, Func<CancellationToken, Task<Solution>> createChangedSolution, string? equivalenceKey = null, CodeActionPriority priority = CodeActionPriority.Default) 548public 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); 573public static CodeAction Create(string title, ImmutableArray<CodeAction> nestedActions, bool isInlinable, CodeActionPriority priority = CodeActionPriority.Default) 623CodeActionPriority priority = CodeActionPriority.Default) 632CodeActionPriority priority = CodeActionPriority.Default) 677CodeActionPriority priority = CodeActionPriority.Default) 686CodeActionPriority priority = CodeActionPriority.Default) 712CodeActionPriority priority = CodeActionPriority.Default) 721CodeActionPriority priority = CodeActionPriority.Default) 742CodeActionPriority 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.