2 overrides of GetPropertyDeclaration
Microsoft.CodeAnalysis.CSharp.Features (1)
UseAutoProperty\CSharpUseAutoPropertyCodeFixProvider.cs (1)
33protected override PropertyDeclarationSyntax GetPropertyDeclaration(SyntaxNode node)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
UseAutoProperty\VisualBasicUseAutoPropertyCodeFixProvider.vb (1)
24Protected Overrides Function GetPropertyDeclaration(node As SyntaxNode) As PropertyBlockSyntax
2 references to GetPropertyDeclaration
Microsoft.CodeAnalysis.Features (2)
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (2)
81var property = GetPropertyDeclaration(propertyLocation.FindNode(cancellationToken)); 159property = GetPropertyDeclaration(await propertySymbol.DeclaringSyntaxReferences[0].GetSyntaxAsync(cancellationToken).ConfigureAwait(false));