21 references to VisualBasicSelectionResult
Microsoft.CodeAnalysis.VisualBasic.Features (21)
ExtractMethod\VisualBasicExtractMethodService.vb (2)
17VisualBasicSelectionResult, 32Protected Overrides Function CreateMethodExtractor(selectionResult As VisualBasicSelectionResult, options As ExtractMethodGenerationOptions, localFunction As Boolean) As VisualBasicMethodExtractor
ExtractMethod\VisualBasicMethodExtractor.Analyzer.vb (2)
18Public Shared Function AnalyzeResult(currentSelectionResult As VisualBasicSelectionResult, cancellationToken As CancellationToken) As AnalyzerResult 23Public Sub New(currentSelectionResult As VisualBasicSelectionResult, cancellationToken As CancellationToken)
ExtractMethod\VisualBasicMethodExtractor.TriviaResult.vb (1)
15Public Shared Async Function ProcessAsync(selectionResult As VisualBasicSelectionResult, cancellationToken As CancellationToken) As Task(Of VisualBasicTriviaResult)
ExtractMethod\VisualBasicMethodExtractor.vb (5)
13Inherits MethodExtractor(Of VisualBasicSelectionResult, ExecutableStatementSyntax, ExpressionSyntax) 15Public Sub New(result As VisualBasicSelectionResult, options As ExtractMethodGenerationOptions) 23Protected Overrides Function Analyze(selectionResult As VisualBasicSelectionResult, localFunction As Boolean, cancellationToken As CancellationToken) As AnalyzerResult 57Protected Overrides Async Function PreserveTriviaAsync(selectionResult As VisualBasicSelectionResult, cancellationToken As CancellationToken) As Task(Of TriviaResult) 61Protected Overrides Function GenerateCodeAsync(insertionPoint As InsertionPoint, selectionResult As VisualBasicSelectionResult, analyzeResult As AnalyzerResult, options As ExtractMethodGenerationOptions, cancellationToken As CancellationToken) As Task(Of GeneratedCode)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (2)
19selectionResult As VisualBasicSelectionResult, 25Public Shared Function IsExtractMethodOnExpression(code As VisualBasicSelectionResult) As Boolean
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.MultipleStatementsCodeGenerator.vb (1)
18selectionResult As VisualBasicSelectionResult,
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.SingleStatementCodeGenerator.vb (1)
18selectionResult As VisualBasicSelectionResult,
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.vb (3)
26selectionResult As VisualBasicSelectionResult, 35selectionResult As VisualBasicSelectionResult, 54selectionResult As VisualBasicSelectionResult,
ExtractMethod\VisualBasicSelectionResult.vb (1)
28cancellationToken As CancellationToken) As Task(Of VisualBasicSelectionResult)
ExtractMethod\VisualBasicSelectionValidator.vb (3)
16Inherits SelectionValidator(Of VisualBasicSelectionResult, ExecutableStatementSyntax) 23Public Overrides Async Function GetValidSelectionAsync(cancellationToken As CancellationToken) As Task(Of (VisualBasicSelectionResult, OperationStatus)) 64Dim result = Await VisualBasicSelectionResult.CreateResultAsync(