1 write to SetMethodDeclaration
Microsoft.CodeAnalysis.Features (1)
ReplaceMethodWithProperty\IReplaceMethodWithPropertyService.cs (1)
45
SetMethodDeclaration
= setMethodDeclaration;
6 references to SetMethodDeclaration
Microsoft.CodeAnalysis.CSharp.Features (2)
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
118
var setMethodDeclaration = getAndSetMethods.
SetMethodDeclaration
as MethodDeclarationSyntax;
242
if (getAndSetMethods.
SetMethodDeclaration
is not MethodDeclarationSyntax setMethodDeclaration || setMethod?.Parameters.Length != 1)
Microsoft.CodeAnalysis.Features (1)
ReplaceMethodWithProperty\AbstractReplaceMethodWithPropertyService.cs (1)
48
var setMethodDeclaration = getAndSetMethods.
SetMethodDeclaration
;
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (3)
71
Dim setMethodStatement = TryCast(getAndSetMethods.
SetMethodDeclaration
, MethodStatementSyntax)
102
getAndSetMethods.
SetMethodDeclaration
.IsParentKind(SyntaxKind.SubBlock) Then
115
DirectCast(getAndSetMethods.
SetMethodDeclaration
.Parent, MethodBlockBaseSyntax).Statements)