4 references to UseAsReturnValue
Microsoft.CodeAnalysis.Features (4)
ExtractMethod\MethodExtractor.Analyzer.cs (2)
273.Where(v => v is { UseAsReturnValue: false, ParameterModifier: ParameterBehavior.Out or ParameterBehavior.Ref }) 363Contract.ThrowIfTrue(variable.UseAsReturnValue);
ExtractMethod\MethodExtractor.CodeGenerator.cs (2)
297Contract.ThrowIfTrue(AnalyzerResult.GetVariablesToSplitOrMoveOutToCallSite().Any(v => v.UseAsReturnValue)); 346if (variable.UseAsReturnValue)