4 instantiations of ReturnStyle
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 };
18 references to ReturnStyle
Microsoft.CodeAnalysis.Features (18)
ExtractMethod\ReturnStyle.cs (4)
15
public static readonly
ReturnStyle
None =
18
public static readonly
ReturnStyle
AssignmentWithInput =
21
public static readonly
ReturnStyle
AssignmentWithNoInput =
24
public static readonly
ReturnStyle
Initialization =
ExtractMethod\VariableStyle.cs (14)
12
public
ReturnStyle
ReturnStyle { get; private set; }
15
new VariableStyle() { ParameterStyle = ParameterStyle.None, ReturnStyle =
ReturnStyle
.None };
18
new VariableStyle() { ParameterStyle = ParameterStyle.InputOnly, ReturnStyle =
ReturnStyle
.None };
21
new VariableStyle() { ParameterStyle = ParameterStyle.Delete, ReturnStyle =
ReturnStyle
.None };
24
new VariableStyle() { ParameterStyle = ParameterStyle.MoveOut, ReturnStyle =
ReturnStyle
.None };
27
new VariableStyle() { ParameterStyle = ParameterStyle.SplitOut, ReturnStyle =
ReturnStyle
.None };
30
new VariableStyle() { ParameterStyle = ParameterStyle.MoveIn, ReturnStyle =
ReturnStyle
.None };
33
new VariableStyle() { ParameterStyle = ParameterStyle.SplitIn, ReturnStyle =
ReturnStyle
.None };
36
new VariableStyle() { ParameterStyle = ParameterStyle.MoveOut, ReturnStyle =
ReturnStyle
.Initialization };
39
new VariableStyle() { ParameterStyle = ParameterStyle.Ref, ReturnStyle =
ReturnStyle
.AssignmentWithInput };
42
new VariableStyle() { ParameterStyle = ParameterStyle.Ref, ReturnStyle =
ReturnStyle
.None };
45
new VariableStyle() { ParameterStyle = ParameterStyle.Out, ReturnStyle =
ReturnStyle
.AssignmentWithNoInput };
48
new VariableStyle() { ParameterStyle = ParameterStyle.Out, ReturnStyle =
ReturnStyle
.AssignmentWithInput };
51
new VariableStyle() { ParameterStyle = ParameterStyle.OutWithMoveOut, ReturnStyle =
ReturnStyle
.Initialization };