6 references to Create
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
LinkedFiles\LinkedFileDiffMergingEditorTests.cs (1)
111context.RegisterRefactoring(CodeAction.Create("Description", _ => Task.FromResult(newSolution)), context.Span);
Microsoft.CodeAnalysis.TestAnalyzerReference (1)
NonSourceFileRefactoring.cs (1)
23context.RegisterRefactoring(CodeAction.Create(nameof(NonSourceFileRefactoring),
Microsoft.CodeAnalysis.Workspaces (3)
CodeActions\CodeAction.cs (2)
533=> Create(title, createChangedSolution, equivalenceKey, CodeActionPriority.Default); 546/// <inheritdoc cref="Create(string, Func{CancellationToken, Task{Solution}}, string?, CodeActionPriority)"/>
CodeFixesAndRefactorings\DefaultFixAllProviderHelpers.cs (1)
47return CodeAction.Create(
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\CustomMarshallerAttributeFixer.cs (1)
84return CodeAction.Create(SR.AddMissingCustomTypeMarshallerMembers, ct => Task.FromResult(symbolEditor.ChangedSolution));