33 references to CreateAsync
ILLink.CodeFixProvider (2)
BaseAttributeCodeFixProvider.cs (1)
72var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
DynamicallyAccessedMembersCodeFixProvider.cs (1)
133var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
Microsoft.Analyzers.Extra (2)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
143var docEditor = await DocumentEditor.CreateAsync(targetDoc, cancellationToken).ConfigureAwait(false);
MakeExeTypesInternalFixer.cs (1)
39var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
Microsoft.AspNetCore.App.CodeFixes (2)
Kestrel\ListenOnIPv6AnyFixer.cs (1)
33var editor = await DocumentEditor.CreateAsync(context.Document, cancellationToken).ConfigureAwait(false);
PublicPartialProgramClassFixer.cs (1)
31var editor = await DocumentEditor.CreateAsync(context.Document, cancellationToken).ConfigureAwait(false);
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
AddResponseTypeAttributeCodeFixAction.cs (1)
64var documentEditor = await DocumentEditor.CreateAsync(_document, cancellationToken).ConfigureAwait(false);
ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs (1)
55var editor = await DocumentEditor.CreateAsync(_document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Analyzers (6)
FixAnalyzers\FixerWithFixAllAnalyzer.Fixer.cs (1)
59var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\CompareSymbolsCorrectlyFix.cs (3)
125var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false); 194var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false); 260var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\PreferIsKindFix.cs (2)
39var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false); 65var editor = await DocumentEditor.CreateAsync(document, fixAllContext.CancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.Features (1)
Copilot\CSharpCopilotCodeFixProvider.cs (1)
123var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\AddAttributesTests.cs (1)
52var editor = await DocumentEditor.CreateAsync(doc);
CodeGeneration\AddImportsTests.cs (1)
878var editor = await DocumentEditor.CreateAsync(document, CancellationToken.None).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Attribute.cs (1)
70var editor = await DocumentEditor.CreateAsync(documentWithAttribute, cancellationToken).ConfigureAwait(false);
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (2)
121var documentEditor = await DocumentEditor.CreateAsync(document, CancellationToken).ConfigureAwait(false); 233var documentEditor = await DocumentEditor.CreateAsync(sourceDocument, CancellationToken).ConfigureAwait(false);
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
46var editor = await DocumentEditor.CreateAsync(SemanticDocument.Document, this.CancellationToken).ConfigureAwait(false);
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (2)
443var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false); 738var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
266var docEditor = await DocumentEditor.CreateAsync(doc, cancellationToken).ConfigureAwait(false);
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (1)
68var documentEditor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SolutionEditor.cs (1)
32editor = await DocumentEditor.CreateAsync(solution.GetDocument(id), cancellationToken).ConfigureAwait(false);
Editing\SymbolEditor.cs (1)
286var editor = await DocumentEditor.CreateAsync(doc, cancellationToken).ConfigureAwait(false);
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\AddMarshalAsToElementFixer.cs (1)
47DocumentEditor editor = await DocumentEditor.CreateAsync(doc, ct).ConfigureAwait(false);
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
151DocumentEditor editor = await DocumentEditor.CreateAsync(doc, ct).ConfigureAwait(false);
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
58DocumentEditor editor = await DocumentEditor.CreateAsync(assemblyInfo, cancellationToken).ConfigureAwait(false);
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
151DocumentEditor editor = await DocumentEditor.CreateAsync(doc, ct).ConfigureAwait(false);
Roslyn.Diagnostics.CSharp.Analyzers (1)
NumberCommentsRefactoring.cs (1)
61var editor = await DocumentEditor.CreateAsync(document, c).ConfigureAwait(false);
System.Text.RegularExpressions.Generator (1)
UpgradeToGeneratedRegexCodeFixer.cs (1)
155DocumentEditor editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);