2 references to GetTaskCreationOptionsField
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Tasks\DoNotCreateTaskCompletionSourceWithWrongArguments.Fixer.cs (2)
34if (GetTaskCreationOptionsField(root, model, context.Span, cancellationToken).ReplacementField is not null) 46var (targetNode, replacementField) = GetTaskCreationOptionsField(editor.OriginalRoot, model, diagnostic.Location.SourceSpan, cancellationToken);