2 references to RegisterRefactoring
Microsoft.CodeAnalysis.Workspaces (2)
CodeRefactorings\CodeRefactoringContext.cs (2)
102public void RegisterRefactoring(CodeAction action) => RegisterRefactoring(action, applicableToSpan: null); // We could pass this.Span as applicableToSpan instead but that would cause these refactorings to always be closest to current selection 113internal void RegisterRefactoring(CodeAction action, TextSpan applicableToSpan) => RegisterRefactoring(action, new Nullable<TextSpan>(applicableToSpan));