124 references to CreateAsync
ILLink.CodeFixProvider (11)
BaseAttributeCodeFixProvider.cs (1)
72
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
DynamicallyAccessedMembersCodeFixProvider.cs (1)
133
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
RequiresUnsafeCodeFixProvider.cs (5)
138
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
190
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
369
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
392
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
418
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
SynchronizeUnsafeContractCodeFixProvider.cs (1)
181
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
UnsafeModifierCodeFixHelpers.cs (3)
107
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
124
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
184
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.Analyzers.Extra (2)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
143
var docEditor = await DocumentEditor.
CreateAsync
(targetDoc, cancellationToken).ConfigureAwait(false);
MakeExeTypesInternalFixer.cs (1)
39
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.AspNetCore.App.CodeFixes (2)
Kestrel\ListenOnIPv6AnyFixer.cs (1)
33
var editor = await DocumentEditor.
CreateAsync
(context.Document, cancellationToken).ConfigureAwait(false);
PublicPartialProgramClassFixer.cs (1)
31
var editor = await DocumentEditor.
CreateAsync
(context.Document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Analyzers (6)
FixAnalyzers\FixerWithFixAllAnalyzer.Fixer.cs (1)
59
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\CompareSymbolsCorrectlyFix.cs (3)
125
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
194
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
260
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\PreferIsKindFix.cs (2)
39
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
65
var editor = await DocumentEditor.
CreateAsync
(document, fixAllContext.CancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.Features (1)
Copilot\CSharpCopilotCodeFixProvider.cs (1)
123
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (12)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\CSharpStaticHolderTypes.Fixer.cs (1)
51
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\QualityGuidelines\CSharpDoNotInitializeUnnecessarily.Fixer.cs (1)
43
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\InteropServices\CSharpDisableRuntimeMarshalling.FixAllProvider.cs (1)
34
var editor = await DocumentEditor.
CreateAsync
(document, fixAllContext.CancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\InteropServices\CSharpDisableRuntimeMarshalling.Fixer.cs (1)
76
var editor = await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\InteropServices\CSharpDynamicInterfaceCastableImplementation.Fixer.cs (1)
184
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\CSharpPreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (2)
125
var editor = await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(false);
218
var editor = await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\CSharpAvoidRedundantRegexIsMatchBeforeMatch.Fixer.cs (2)
440
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
460
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\CSharpPreferDictionaryContainsMethods.Fixer.cs (1)
52
var editor = await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Usage\CSharpDoNotPassNonNullableValueToArgumentNullExceptionThrowIfNullFixer.cs (1)
20
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Usage\CSharpPreferGenericOverloads.Fixer.cs (1)
43
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Attribute.cs (1)
70
var editor = await DocumentEditor.
CreateAsync
(documentWithAttribute, cancellationToken).ConfigureAwait(false);
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (2)
120
var documentEditor = await DocumentEditor.
CreateAsync
(document, CancellationToken).ConfigureAwait(false);
232
var documentEditor = await DocumentEditor.
CreateAsync
(sourceDocument, CancellationToken).ConfigureAwait(false);
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
46
var editor = await DocumentEditor.
CreateAsync
(SemanticDocument.Document, this.CancellationToken).ConfigureAwait(false);
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (2)
443
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
737
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
286
var docEditor = await DocumentEditor.
CreateAsync
(doc, cancellationToken).ConfigureAwait(false);
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (1)
63
var documentEditor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.NetAnalyzers (67)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DefineAccessorsForAttributeArguments.Fixer.cs (2)
125
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
152
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDirectlyAwaitATask.Fixer.cs (2)
55
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
88
var editor = await DocumentEditor.
CreateAsync
(document, fixAllContext.CancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumStorageShouldBeInt32.Fixer.cs (1)
48
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumWithFlagsAttribute.Fixer.cs (1)
52
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EquatableAnalyzer.Fixer.cs (2)
95
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
119
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ExceptionsShouldBePublic.Fixer.cs (1)
49
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ImplementStandardExceptionConstructors.Fixer.cs (1)
57
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\MarkAttributesWithAttributeUsage.Fixer.cs (1)
67
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OperatorsShouldHaveSymmetricalOverloads.Fixer.cs (1)
51
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverloadOperatorEqualsOnOverridingValueTypeEquals.Fixer.cs (1)
52
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideEqualsAndOperatorEqualsOnValueTypes.Fixer.cs (1)
64
var editor = await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideEqualsOnOverloadingOperatorEquals.Fixer.cs (1)
57
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideGetHashCodeOnOverridingEquals.Fixer.cs (1)
49
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideMethodsOnComparableTypes.Fixer.cs (1)
52
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\TypesThatOwnDisposableFieldsShouldBeDisposable.Fixer.cs (1)
48
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UriParametersShouldNotBeStrings.Fixer.cs (1)
78
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEnd.Fixer.cs (1)
70
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidUnusedPrivateFields.Fixer.cs (1)
53
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\Maintainability\UseNameofInPlaceOfString.Fixer.cs (1)
54
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\QualityGuidelines\RemoveEmptyFinalizers.Fixer.cs (1)
44
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.CodeQuality.Analyzers\QualityGuidelines\UseLiteralsWhereAppropriate.Fixer.cs (1)
57
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\InteropServices\ProvidePublicParameterlessSafeHandleConstructor.Fixer.cs (1)
52
var editor = await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\InteropServices\SpecifyMarshalingForPInvokeStringArguments.Fixer.cs (1)
70
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsed.Fixer.cs (1)
127
var editor = await DocumentEditor.
CreateAsync
(this._document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\PreferConvertToHexStringOverBitConverter.Fixer.cs (1)
87
var editor = await DocumentEditor.
CreateAsync
(context.Document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\PreferIsEmptyOverCount.Fixer.cs (1)
49
DocumentEditor editor = await DocumentEditor.
CreateAsync
(context.Document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\PreferReadOnlySpanOverSpan.Fixer.cs (1)
57
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.Fixer.cs (1)
108
var editor = await DocumentEditor.
CreateAsync
(_document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\UsePropertyInsteadOfCountMethodWhenAvailable.Fixer.cs (1)
116
var editor = await DocumentEditor.
CreateAsync
(this._document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\UseSearchValues.Fixer.cs (1)
67
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\UseSpanClearInsteadOfFIll.Fixer.cs (1)
44
DocumentEditor editor = await DocumentEditor.
CreateAsync
(context.Document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\UseStringContainsCharOverloadWithSingleCharacters.Fixer.cs (1)
70
var editor = await DocumentEditor.
CreateAsync
(_document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Performance\UseStringMethodCharOverloadWithSingleCharacters.Fixer.cs (1)
72
var editor = await DocumentEditor.
CreateAsync
(_document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\AvoidConstArrays.Fixer.cs (1)
53
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\AvoidUnreliableStreamRead.Fixer.cs (1)
85
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\AvoidUnsealedAttributes.Fixer.cs (1)
25
DocumentEditor editor = await DocumentEditor.
CreateAsync
(context.Document, context.CancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\AvoidZeroLengthArrayAllocations.Fixer.cs (1)
49
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\InstantiateArgumentExceptionsCorrectly.Fixer.cs (2)
82
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, token).ConfigureAwait(false);
120
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, token).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\MarkAllNonSerializableFields.Fixer.cs (1)
57
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\MarkISerializableTypesWithSerializable.Fixer.cs (1)
45
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\PreferAsSpanOverSubstring.Fixer.cs (1)
60
var editor = await DocumentEditor.
CreateAsync
(document, token).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\PreferConstCharOverConstUnitString.Fixer.cs (2)
106
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, cancellationToken).ConfigureAwait(false);
119
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\PreferJsonElementParse.Fixer.cs (1)
50
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\PreferStringContainsOverIndexOf.Fixer.cs (1)
78
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\PreferTypedStringBuilderAppendOverloads.Fixer.cs (2)
46
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(false);
65
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\TestForEmptyStringsUsingStringLength.Fixer.cs (2)
109
DocumentEditor editor = await DocumentEditor.
CreateAsync
(context.Document, context.CancellationToken).ConfigureAwait(false);
125
DocumentEditor editor = await DocumentEditor.
CreateAsync
(context.Document, context.CancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\TestForNaNCorrectly.Fixer.cs (1)
88
DocumentEditor editor = await DocumentEditor.
CreateAsync
(context.Document, context.CancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\UseCancellationTokenThrowIfCancellationRequested.Fixer.cs (2)
60
var editor = await DocumentEditor.
CreateAsync
(context.Document, token).ConfigureAwait(false);
87
var editor = await DocumentEditor.
CreateAsync
(context.Document, token).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\UseEnvironmentMembersFixer.cs (1)
62
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\UseExceptionThrowHelpersFixer.cs (2)
41
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, cancellationToken).ConfigureAwait(false);
134
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, fixAllContext.CancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\UseRegexMembersFixer.cs (1)
66
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\UseSpanBasedStringConcat.Fixer.cs (1)
88
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompare.Fixer.cs (1)
57
var editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Tasks\DoNotCreateTaskCompletionSourceWithWrongArguments.Fixer.cs (1)
45
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Tasks\DoNotUseWhenAllOrWaitAllWithSingleArgumentFixer.cs (2)
45
var editor = await DocumentEditor.
CreateAsync
(context.Document, ct).ConfigureAwait(false);
65
var editor = await DocumentEditor.
CreateAsync
(context.Document, ct).ConfigureAwait(false);
Microsoft.NetCore.Analyzers\Usage\UseVolatileReadWrite.Fixer.cs (1)
67
var editor = await DocumentEditor.
CreateAsync
(context.Document, cancellationToken).ConfigureAwait(false);
SyntaxEditorFixAllProvider.cs (1)
36
/// <see cref="DocumentEditor"/>, because <see cref="DocumentEditor.
CreateAsync
"/> binds a
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\InteropServices\BasicSpecifyMarshalingForPInvokeStringArguments.Fixer.vb (1)
34
Dim editor = Await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(False)
Microsoft.NetCore.Analyzers\Performance\BasicPreferDictionaryTryMethodsOverContainsKeyGuardFixer.vb (2)
114
Dim editor = Await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(False)
187
Dim editor = Await DocumentEditor.
CreateAsync
(document, ct).ConfigureAwait(False)
Microsoft.NetCore.Analyzers\Runtime\BasicPreferDictionaryContainsMethods.Fixer.vb (2)
38
Dim editor = Await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(False)
53
Dim editor = Await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(False)
Microsoft.NetCore.Analyzers\Usage\BasicDoNotPassNonNullableValueToArgumentNullExceptionThrowIfNullFixer.vb (1)
16
Dim editor = Await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(False)
Microsoft.NetCore.Analyzers\Usage\BasicPreferGenericOverloads.Fixer.vb (1)
43
Dim editor = Await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(False)
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SolutionEditor.cs (1)
32
editor = await DocumentEditor.
CreateAsync
(solution.GetDocument(id), cancellationToken).ConfigureAwait(false);
Editing\SymbolEditor.cs (1)
285
var editor = await DocumentEditor.
CreateAsync
(doc, cancellationToken).ConfigureAwait(false);
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\AddMarshalAsToElementFixer.cs (1)
47
DocumentEditor editor = await DocumentEditor.
CreateAsync
(doc, ct).ConfigureAwait(false);
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
58
DocumentEditor editor = await DocumentEditor.
CreateAsync
(assemblyInfo, cancellationToken).ConfigureAwait(false);
Roslyn.Diagnostics.CSharp.Analyzers (1)
NumberCommentsRefactoring.cs (1)
61
var editor = await DocumentEditor.
CreateAsync
(document, c).ConfigureAwait(false);
System.Text.RegularExpressions.Generator (3)
UpgradeToGeneratedRegexCodeFixer.cs (3)
148
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
212
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);
262
DocumentEditor editor = await DocumentEditor.
CreateAsync
(document, cancellationToken).ConfigureAwait(false);