1 override of GetPropertyDeclaration
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
44
protected override PropertyDeclarationSyntax
GetPropertyDeclaration
(SyntaxNode node)
3 references to GetPropertyDeclaration
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (3)
140
var propertyDeclaration =
GetPropertyDeclaration
(property.DeclaringSyntaxReferences[0].GetSyntax(cancellationToken));
198
propertyDeclaration =
GetPropertyDeclaration
(property.DeclaringSyntaxReferences[0].GetSyntax(cancellationToken));
377
var property =
GetPropertyDeclaration
(propertyLocation.FindNode(cancellationToken));