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 }) 322result.Add(info.CanBeUsedAsReturnValue && info.ParameterModifier is ParameterBehavior.Out or ParameterBehavior.Ref 364if (variable.ParameterModifier == ParameterBehavior.Ref ||
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
377ParameterBehavior.Ref => RefKind.Ref,
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
88Contract.ThrowIfFalse(variable.ParameterModifier is ParameterBehavior.Out or ParameterBehavior.Ref);
ExtractMethod\ParameterStyle.cs (1)
33new(ParameterBehavior.Ref, DeclarationBehavior.None);