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