1 override of TryGetMemberDeclaration
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MakeMemberStatic\CSharpMakeMemberStaticCodeFixProvider.cs (1)
23
protected override bool
TryGetMemberDeclaration
(SyntaxNode node, [NotNullWhen(true)] out SyntaxNode? memberDeclaration)
2 references to TryGetMemberDeclaration
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\MakeMemberStatic\AbstractMakeMemberStaticCodeFixProvider.cs (2)
22
TryGetMemberDeclaration
(context.Diagnostics[0].Location.FindNode(context.CancellationToken), out _))
37
if (
TryGetMemberDeclaration
(declaration, out var memberDeclaration))