1 instantiation of GeneratedCode
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
180
return Task.FromResult(new
GeneratedCode
(
11 references to GeneratedCode
Microsoft.CodeAnalysis.CSharp.Features (3)
ExtractMethod\CSharpMethodExtractor.cs (1)
158
protected override Task<
GeneratedCode
> GenerateCodeAsync(InsertionPoint insertionPoint, SelectionResult selectionResult, AnalyzerResult analyzeResult, CodeGenerationOptions options, CancellationToken cancellationToken)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (2)
43
public static Task<
GeneratedCode
> GenerateAsync(
680
protected override async Task<
GeneratedCode
> CreateGeneratedCodeAsync(OperationStatus status, SemanticDocument newDocument, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (5)
ExtractMethod\MethodExtractor.CodeGenerator.cs (2)
84
public async Task<
GeneratedCode
> GenerateAsync(CancellationToken cancellationToken)
178
protected virtual Task<
GeneratedCode
> CreateGeneratedCodeAsync(OperationStatus status, SemanticDocument newDocument, CancellationToken cancellationToken)
ExtractMethod\MethodExtractor.cs (2)
43
protected abstract Task<
GeneratedCode
> GenerateCodeAsync(InsertionPoint insertionPoint, SelectionResult selectionResult, AnalyzerResult analyzeResult, CodeGenerationOptions options, CancellationToken cancellationToken);
73
var
generatedCode = await GenerateCodeAsync(
ExtractMethod\MethodExtractor.TriviaResult.cs (1)
39
public async Task<OperationStatus<SemanticDocument>> ApplyAsync(
GeneratedCode
generatedCode, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ExtractMethod\VisualBasicMethodExtractor.vb (1)
72
Protected Overrides Function GenerateCodeAsync(insertionPoint As InsertionPoint, selectionResult As SelectionResult, analyzeResult As AnalyzerResult, options As CodeGenerationOptions, cancellationToken As CancellationToken) As Task(Of
GeneratedCode
)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.vb (2)
26
Public Shared Async Function GenerateResultAsync(insertionPoint As InsertionPoint, selectionResult As SelectionResult, analyzerResult As AnalyzerResult, options As VisualBasicCodeGenerationOptions, cancellationToken As CancellationToken) As Task(Of
GeneratedCode
)
415
Protected Overrides Async Function CreateGeneratedCodeAsync(status As OperationStatus, newDocument As SemanticDocument, cancellationToken As CancellationToken) As Task(Of
GeneratedCode
)