4 writes to ReturnBehavior
Microsoft.CodeAnalysis.Features (4)
ExtractMethod\ReturnStyle.cs (4)
16
new ReturnStyle() { ParameterBehavior = ParameterBehavior.None,
ReturnBehavior
= ReturnBehavior.None, DeclarationBehavior = DeclarationBehavior.None };
19
new ReturnStyle() { ParameterBehavior = ParameterBehavior.Input,
ReturnBehavior
= ReturnBehavior.Assignment, DeclarationBehavior = DeclarationBehavior.None };
22
new ReturnStyle() { ParameterBehavior = ParameterBehavior.None,
ReturnBehavior
= ReturnBehavior.Assignment, DeclarationBehavior = DeclarationBehavior.SplitIn };
25
new ReturnStyle() { ParameterBehavior = ParameterBehavior.None,
ReturnBehavior
= ReturnBehavior.Initialization, DeclarationBehavior = DeclarationBehavior.SplitOut };
3 references to ReturnBehavior
Microsoft.CodeAnalysis.Features (3)
ExtractMethod\MethodExtractor.VariableInfo.cs (3)
31
Contract.ThrowIfFalse(!_useAsReturnValue || _variableStyle.ReturnStyle.
ReturnBehavior
!= ReturnBehavior.None);
40
return _variableStyle.ReturnStyle.
ReturnBehavior
!= ReturnBehavior.None;
82
return _variableStyle.ReturnStyle.
ReturnBehavior
;