8 references to Out
Microsoft.CodeAnalysis.Features (8)
ExtractMethod\MethodExtractor.Analyzer.cs (4)
271
.Where(v => v is { UseAsReturnValue: false, ParameterModifier: ParameterBehavior.
Out
or ParameterBehavior.Ref })
322
result.Add(info.CanBeUsedAsReturnValue && info.ParameterModifier is ParameterBehavior.
Out
or ParameterBehavior.Ref
365
(variable.ParameterModifier == ParameterBehavior.
Out
&& TreatOutAsRef))
370
else if (variable.ParameterModifier == ParameterBehavior.
Out
)
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
378
ParameterBehavior.
Out
=> RefKind.Out,
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
88
Contract.ThrowIfFalse(variable.ParameterModifier is ParameterBehavior.
Out
or ParameterBehavior.Ref);
ExtractMethod\ParameterStyle.cs (2)
30
new(ParameterBehavior.
Out
, DeclarationBehavior.None);
36
new(ParameterBehavior.
Out
, DeclarationBehavior.MoveOut);