9 references to VariablesToUseAsReturnValue
Microsoft.CodeAnalysis.CSharp.Features (4)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (4)
495
=> ReturnStatement(this.AnalyzerResult.
VariablesToUseAsReturnValue
.Length switch
498
1 => this.AnalyzerResult.
VariablesToUseAsReturnValue
[0].Name.ToIdentifierName(),
499
_ => TupleExpression([.. this.AnalyzerResult.
VariablesToUseAsReturnValue
.Select(
610
var isUsingDeclarationAsReturnValue = this.AnalyzerResult.
VariablesToUseAsReturnValue
is [var variable] &&
Microsoft.CodeAnalysis.Features (5)
ExtractMethod\MethodExtractor.CodeGenerator.cs (5)
294
if (AnalyzerResult.
VariablesToUseAsReturnValue
.IsEmpty &&
311
if (AnalyzerResult.
VariablesToUseAsReturnValue
.IsEmpty &&
318
var variables = AnalyzerResult.
VariablesToUseAsReturnValue
;
372
else if (!this.AnalyzerResult.
VariablesToUseAsReturnValue
.IsEmpty)
375
CreateReturnExpression(AnalyzerResult.
VariablesToUseAsReturnValue
.SelectAsArray(