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