7 references to Out
Microsoft.CodeAnalysis.Features (7)
ExtractMethod\MethodExtractor.Analyzer.cs (3)
93
(variable.ParameterModifier == ParameterBehavior.
Out
&& TreatOutAsRef))
98
else if (variable.ParameterModifier == ParameterBehavior.
Out
)
384
var names = parameters.Where(v => v is { UseAsReturnValue: false, ParameterModifier: ParameterBehavior.
Out
or ParameterBehavior.Ref })
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
379
parameterBehavior == ParameterBehavior.
Out
? RefKind.Out : RefKind.None;
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
93
Contract.ThrowIfFalse(variable.ParameterModifier is ParameterBehavior.
Out
or ParameterBehavior.Ref);
ExtractMethod\ParameterStyle.cs (2)
37
new ParameterStyle() { ParameterBehavior = ParameterBehavior.
Out
, DeclarationBehavior = DeclarationBehavior.None, SaferDeclarationBehavior = DeclarationBehavior.None };
43
new ParameterStyle() { ParameterBehavior = ParameterBehavior.
Out
, DeclarationBehavior = DeclarationBehavior.MoveOut, SaferDeclarationBehavior = DeclarationBehavior.MoveOut };