Implemented interface member:
method
GetContainingMethodDeclaration
Microsoft.CodeAnalysis.LanguageService.ISyntaxFacts.GetContainingMethodDeclaration(Microsoft.CodeAnalysis.SyntaxNode, System.Int32, System.Boolean)
1 reference to GetContainingMethodDeclaration
Microsoft.CodeAnalysis.CSharp.Features (1)
Copilot\CSharpCopilotCodeFixProvider.cs (1)
79
var containingMethod = CSharpSyntaxFacts.Instance.
GetContainingMethodDeclaration
(root, diagnostic.Location.SourceSpan.Start, useFullSpan: false);