6 references to Ref
Microsoft.CodeAnalysis.Features (6)
ExtractMethod\MethodExtractor.Analyzer.cs (3)
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
364
if (variable.ParameterModifier == ParameterBehavior.
Ref
||
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
377
ParameterBehavior.
Ref
=> RefKind.Ref,
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
88
Contract.ThrowIfFalse(variable.ParameterModifier is ParameterBehavior.Out or ParameterBehavior.
Ref
);
ExtractMethod\ParameterStyle.cs (1)
33
new(ParameterBehavior.
Ref
, DeclarationBehavior.None);