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