1 instantiation of DocumentEditor
Microsoft.CodeAnalysis.Workspaces (1)
195 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.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.Analyzers (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
Microsoft.CodeAnalysis.CSharp.Features (18)
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (23)
Microsoft.NetCore.Analyzers\Performance\CSharpUseStringMethodCharOverloadWithSingleCharacters.Fixer.cs (1)
70DocumentEditor editor,
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
Microsoft.CodeAnalysis.Features (32)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (8)
Microsoft.CodeAnalysis.Workspaces (15)
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 (5)
System.Text.RegularExpressions.Generator (6)