1 instantiation of DocumentEditor
Microsoft.CodeAnalysis.Workspaces (1)
121 references to DocumentEditor
ILLink.CodeFixProvider (4)
Microsoft.Analyzers.Extra (6)
Microsoft.AspNetCore.App.CodeFixes (4)
Microsoft.AspNetCore.Mvc.Api.Analyzers (4)
Microsoft.CodeAnalysis.Analyzers (13)
Microsoft.CodeAnalysis.CSharp.Analyzers (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp.Features (7)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
Microsoft.CodeAnalysis.Features (25)
Microsoft.CodeAnalysis.VisualBasic.Analyzers (1)
Microsoft.CodeAnalysis.Workspaces (12)
Microsoft.Interop.ComInterfaceGenerator (14)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (8)
33protected abstract Func<DocumentEditor, CancellationToken, Task> CreateFixForSelectedOptions(SyntaxNode node, ImmutableDictionary<string, Option> selectedOptions);
106private static async Task<Solution> ApplyActionAndEnableUnsafe(Solution solution, DocumentId documentId, Func<DocumentEditor, CancellationToken, Task> documentBasedFix, CancellationToken ct)
109var docEditor = await editor.GetDocumentEditorAsync(documentId, ct).ConfigureAwait(false);
151DocumentEditor editor = await DocumentEditor.CreateAsync(doc, ct).ConfigureAwait(false);
164protected record struct ConvertToSourceGeneratedInteropFix(Func<DocumentEditor, CancellationToken, Task> ApplyFix, ImmutableDictionary<string, Option> SelectedOptions);
199DocumentEditor editor = await solutionEditor.GetDocumentEditorAsync(documentId, ct).ConfigureAwait(false);
232protected static void MakeNodeParentsPartial(DocumentEditor editor, SyntaxNode syntax)
Microsoft.Interop.LibraryImportGenerator (19)
Analyzers\ConvertToLibraryImportFixer.cs (6)
129protected override Func<DocumentEditor, CancellationToken, Task> CreateFixForSelectedOptions(SyntaxNode node, ImmutableDictionary<string, Option> selectedOptions)
161DocumentEditor editor,
198DocumentEditor editor,
271private static async Task<bool> TransformCallersOfNoPreserveSigMethod(DocumentEditor editor, IMethodSymbol methodSymbol, CancellationToken cancellationToken)
412DocumentEditor editor,
571DocumentEditor editor,
Analyzers\CustomMarshallerAttributeFixer.cs (3)
187DocumentEditor editor,
204private static void AddMissingMembersToStatelessMarshaller(DocumentEditor editor, SyntaxNode declaringSyntax, INamedTypeSymbol marshallerType, ITypeSymbol managedType, HashSet<string> missingMemberNames, bool isLinearCollectionMarshaller)
400private static void AddMissingMembersToStatefulMarshaller(DocumentEditor editor, SyntaxNode declaringSyntax, INamedTypeSymbol marshallerType, ITypeSymbol managedType, HashSet<string> missingMemberNames, bool isLinearCollectionMarshaller)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (8)
33protected abstract Func<DocumentEditor, CancellationToken, Task> CreateFixForSelectedOptions(SyntaxNode node, ImmutableDictionary<string, Option> selectedOptions);
106private static async Task<Solution> ApplyActionAndEnableUnsafe(Solution solution, DocumentId documentId, Func<DocumentEditor, CancellationToken, Task> documentBasedFix, CancellationToken ct)
109var docEditor = await editor.GetDocumentEditorAsync(documentId, ct).ConfigureAwait(false);
151DocumentEditor editor = await DocumentEditor.CreateAsync(doc, ct).ConfigureAwait(false);
164protected record struct ConvertToSourceGeneratedInteropFix(Func<DocumentEditor, CancellationToken, Task> ApplyFix, ImmutableDictionary<string, Option> SelectedOptions);
199DocumentEditor editor = await solutionEditor.GetDocumentEditorAsync(documentId, ct).ConfigureAwait(false);
232protected static void MakeNodeParentsPartial(DocumentEditor editor, SyntaxNode syntax)
Roslyn.Diagnostics.CSharp.Analyzers (2)
System.Text.RegularExpressions.Generator (2)