10 writes to ParameterBehavior
Microsoft.CodeAnalysis.Features (10)
ExtractMethod\ParameterStyle.cs (10)
16
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.None, DeclarationBehavior = DeclarationBehavior.None, SaferDeclarationBehavior = DeclarationBehavior.None };
19
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.Input, DeclarationBehavior = DeclarationBehavior.None, SaferDeclarationBehavior = DeclarationBehavior.None };
22
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.None, DeclarationBehavior = DeclarationBehavior.Delete, SaferDeclarationBehavior = DeclarationBehavior.None };
25
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.None, DeclarationBehavior = DeclarationBehavior.MoveOut, SaferDeclarationBehavior = DeclarationBehavior.SplitOut };
28
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.None, DeclarationBehavior = DeclarationBehavior.SplitOut, SaferDeclarationBehavior = DeclarationBehavior.SplitOut };
31
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.None, DeclarationBehavior = DeclarationBehavior.MoveIn, SaferDeclarationBehavior = DeclarationBehavior.SplitIn };
34
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.None, DeclarationBehavior = DeclarationBehavior.SplitIn, SaferDeclarationBehavior = DeclarationBehavior.SplitIn };
37
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.Out, DeclarationBehavior = DeclarationBehavior.None, SaferDeclarationBehavior = DeclarationBehavior.None };
40
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.Ref, DeclarationBehavior = DeclarationBehavior.None, SaferDeclarationBehavior = DeclarationBehavior.None };
43
new ParameterStyle() {
ParameterBehavior
= ParameterBehavior.Out, DeclarationBehavior = DeclarationBehavior.MoveOut, SaferDeclarationBehavior = DeclarationBehavior.MoveOut };
2 references to ParameterBehavior
Microsoft.CodeAnalysis.Features (2)
ExtractMethod\MethodExtractor.VariableInfo.cs (2)
48
return (!_useAsReturnValue && _variableStyle.ParameterStyle.
ParameterBehavior
!= ParameterBehavior.None) ||
57
return _useAsReturnValue ? _variableStyle.ReturnStyle.ParameterBehavior : _variableStyle.ParameterStyle.
ParameterBehavior
;