10 writes to DeclarationBehavior
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 };
4 references to DeclarationBehavior
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
80
return _variableStyle.ParameterStyle.
DeclarationBehavior
;
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ExtractMethod\VisualBasicMethodExtractor.Analyzer.vb (3)
32
If symbol.IsFunctionValue() AndAlso style.ParameterStyle.
DeclarationBehavior
<> DeclarationBehavior.None Then
33
Contract.ThrowIfFalse(style.ParameterStyle.
DeclarationBehavior
= DeclarationBehavior.MoveIn OrElse style.ParameterStyle.
DeclarationBehavior
= DeclarationBehavior.SplitIn)