40 references to Create
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
62CodeAction.Create(
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
src\Analyzers\Core\CodeFixes\MakeMethodAsynchronous\AbstractMakeMethodAsynchronousCodeFixProvider.cs (2)
68CodeAction.Create( 79CodeAction.Create(
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
39CodeAction.Create(
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
31CodeAction.Create(
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
42return CodeAction.Create(
src\Analyzers\Core\CodeFixes\UnsealClass\AbstractUnsealClassCodeFixProvider.cs (1)
48CodeAction.Create(
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
66var positional = CodeAction.Create(
Microsoft.CodeAnalysis.CSharp.Features (3)
ImplementInterface\AbstractChangeImplementationCodeRefactoringProvider.cs (1)
117nestedActions.Add(CodeAction.Create(
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
133=> CodeAction.Create(title, createSolution, title);
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
66var positional = CodeAction.Create(
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeFixes\CodeFixServiceTests.cs (1)
944context.RegisterCodeFix(CodeAction.Create(Title,
Microsoft.CodeAnalysis.Features (21)
AddImport\CodeActions\InstallPackageAndAddImportCodeAction.cs (1)
55var solutionChangeAction = SolutionChangeAction.Create("", GetUpdatedSolutionAsync, "");
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (2)
64SolutionChangeAction.Create( 105SolutionChangeAction.Create(
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.BatchFixer.cs (1)
147var batchAttributeRemoveFix = CodeAction.Create(
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
171=> CodeAction.Create(GetTitle(scope), c => ConvertToStructAsync(document, span, scope, isRecord, c), scope.ToString());
EncapsulateField\AbstractEncapsulateFieldService.cs (4)
83CodeAction.Create( 87CodeAction.Create( 98CodeAction.Create( 102CodeAction.Create(
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (5)
173var allFieldsAction = CodeAction.Create( 178var allPropertiesAction = CodeAction.Create( 201var fieldAction = CodeAction.Create( 205var propertyAction = CodeAction.Create( 253return [CodeAction.Create(
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
185return CodeAction.Create(
PullMemberUp\MembersPuller.cs (1)
52return SolutionChangeAction.Create(
src\Analyzers\Core\CodeFixes\MakeMethodAsynchronous\AbstractMakeMethodAsynchronousCodeFixProvider.cs (2)
68CodeAction.Create( 79CodeAction.Create(
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
39CodeAction.Create(
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
31CodeAction.Create(
src\Analyzers\Core\CodeFixes\UnsealClass\AbstractUnsealClassCodeFixProvider.cs (1)
48CodeAction.Create(
Microsoft.Interop.ComInterfaceGenerator (2)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
138CodeAction.Create( 180return CodeAction.Create(codeFixProvider.GetDiagnosticTitle(options),
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
37CodeAction.Create(
Analyzers\CustomMarshallerAttributeFixer.cs (1)
122CodeAction.Create(
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
138CodeAction.Create( 180return CodeAction.Create(codeFixProvider.GetDiagnosticTitle(options),
Microsoft.ML.InternalCodeAnalyzer (1)
NameFixProvider.cs (1)
98context.RegisterCodeFix(CodeAction.Create(PrivateTitle,