12 references to CreateAsync
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\AddAttributesTests.cs (1)
50var editor = await DocumentEditor.CreateAsync(doc);
CodeGeneration\AddImportsTests.cs (1)
801var editor = await DocumentEditor.CreateAsync(document, CancellationToken.None).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Attribute.cs (1)
68var editor = await DocumentEditor.CreateAsync(documentWithAttribute, cancellationToken).ConfigureAwait(false);
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (2)
126var documentEditor = await DocumentEditor.CreateAsync(document, CancellationToken).ConfigureAwait(false); 194var documentEditor = await DocumentEditor.CreateAsync(sourceDocument, CancellationToken).ConfigureAwait(false);
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
58var editor = await DocumentEditor.CreateAsync(documentToEdit, cancellationToken).ConfigureAwait(false);
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (2)
443var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false); 693var editor = await DocumentEditor.CreateAsync(document, cancellationToken).ConfigureAwait(false);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
261var 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)
38editor = await DocumentEditor.CreateAsync(_solution.GetDocument(id), cancellationToken).ConfigureAwait(false);
Editing\SymbolEditor.cs (1)
286var editor = await DocumentEditor.CreateAsync(doc, cancellationToken).ConfigureAwait(false);