Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow OmniSharp to provide ImplementType Options #75312

Merged
merged 6 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,13 @@ public static CodeFixContext CreateCodeFixContext(
TextSpan span,
ImmutableArray<Diagnostic> diagnostics,
Action<CodeAction, ImmutableArray<Diagnostic>> registerCodeFix,
#pragma warning disable IDE0060 // Remove unused parameter
OmniSharpCodeActionOptions options,
#pragma warning restore IDE0060 // Remove unused parameter
CancellationToken cancellationToken)
=> new(document, span, diagnostics, registerCodeFix, cancellationToken);

public static CodeAnalysis.CodeRefactorings.CodeRefactoringContext CreateCodeRefactoringContext(
Document document,
TextSpan span,
Action<CodeAction, TextSpan?> registerRefactoring,
#pragma warning disable IDE0060 // Remove unused parameter
OmniSharpCodeActionOptions options,
#pragma warning restore IDE0060 // Remove unused parameter
CancellationToken cancellationToken)
=> new(document, span, registerRefactoring, cancellationToken);

Expand All @@ -44,9 +38,6 @@ public static FixAllContext CreateFixAllContext(
string? codeActionEquivalenceKey,
IEnumerable<string> diagnosticIds,
FixAllContext.DiagnosticProvider fixAllDiagnosticProvider,
#pragma warning disable IDE0060 // Remove unused parameter
Func<string, OmniSharpCodeActionOptions> optionsProvider,
#pragma warning restore IDE0060 // Remove unused parameter
CancellationToken cancellationToken)
=> new(new FixAllState(
fixAllProvider: NoOpFixAllProvider.Instance,
Expand Down
Loading
Loading