2 implementations of IReplaceMethodWithPropertyService
Microsoft.CodeAnalysis.CSharp.Features (1)
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (1)
26internal class CSharpReplaceMethodWithPropertyService : AbstractReplaceMethodWithPropertyService<MethodDeclarationSyntax>, IReplaceMethodWithPropertyService
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (1)
20Implements IReplaceMethodWithPropertyService
15 references to IReplaceMethodWithPropertyService
Microsoft.CodeAnalysis.CSharp.Features (1)
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (1)
25[ExportLanguageService(typeof(IReplaceMethodWithPropertyService), LanguageNames.CSharp), Shared]
Microsoft.CodeAnalysis.Features (8)
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (8)
43var service = document.GetLanguageService<IReplaceMethodWithPropertyService>(); 225var service = originalDocument.GetRequiredLanguageService<IReplaceMethodWithPropertyService>(); 239IReplaceMethodWithPropertyService service, 279IReplaceMethodWithPropertyService service, 363var service = updatedDocument.GetRequiredLanguageService<IReplaceMethodWithPropertyService>();
Microsoft.CodeAnalysis.VisualBasic.Features (6)
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (6)
17<ExportLanguageService(GetType(IReplaceMethodWithPropertyService), LanguageNames.VisualBasic), [Shared]> 27Public Sub RemoveSetMethod(editor As SyntaxEditor, setMethodDeclaration As SyntaxNode) Implements IReplaceMethodWithPropertyService.RemoveSetMethod 43propertyName As String, nameChanged As Boolean) Implements IReplaceMethodWithPropertyService.ReplaceGetMethodWithProperty 135Public Sub ReplaceGetReference(editor As SyntaxEditor, nameToken As SyntaxToken, propertyName As String, nameChanged As Boolean) Implements IReplaceMethodWithPropertyService.ReplaceGetReference 164Public Sub ReplaceSetReference(editor As SyntaxEditor, nameToken As SyntaxToken, propertyName As String, nameChanged As Boolean) Implements IReplaceMethodWithPropertyService.ReplaceSetReference 214Private Function IReplaceMethodWithPropertyService_GetMethodDeclarationAsync(context As CodeRefactoringContext) As Task(Of SyntaxNode) Implements IReplaceMethodWithPropertyService.GetMethodDeclarationAsync