10 references to ReturnBehavior
Microsoft.CodeAnalysis.Features (10)
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
263if (variables.Any(v => v.ReturnBehavior == ReturnBehavior.Initialization))
ExtractMethod\MethodExtractor.VariableInfo.cs (4)
36Contract.ThrowIfFalse(!_useAsReturnValue || _variableStyle.ReturnStyle.ReturnBehavior != ReturnBehavior.None); 45return _variableStyle.ReturnStyle.ReturnBehavior != ReturnBehavior.None; 71public ReturnBehavior ReturnBehavior 80return ReturnBehavior.None;
ExtractMethod\ReturnStyle.cs (5)
9ReturnBehavior ReturnBehavior, 13new(ParameterBehavior.None, ReturnBehavior.None, DeclarationBehavior.None); 16new(ParameterBehavior.Input, ReturnBehavior.Assignment, DeclarationBehavior.None); 19new(ParameterBehavior.None, ReturnBehavior.Assignment, DeclarationBehavior.SplitIn); 22new(ParameterBehavior.None, ReturnBehavior.Initialization, DeclarationBehavior.SplitOut);