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