4 writes to ParameterBehavior
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 };
2 references to ParameterBehavior
Microsoft.CodeAnalysis.Features (2)
ExtractMethod\MethodExtractor.VariableInfo.cs (2)
49
(_useAsReturnValue && _variableStyle.ReturnStyle.
ParameterBehavior
!= ParameterBehavior.None);
57
return _useAsReturnValue ? _variableStyle.ReturnStyle.
ParameterBehavior
: _variableStyle.ParameterStyle.ParameterBehavior;