5 references to Ref
Microsoft.CodeAnalysis.Features (5)
ExtractMethod\MethodExtractor.Analyzer.cs (2)
92if (variable.ParameterModifier == ParameterBehavior.Ref || 384var names = parameters.Where(v => v is { UseAsReturnValue: false, ParameterModifier: ParameterBehavior.Out or ParameterBehavior.Ref })
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
378return parameterBehavior == ParameterBehavior.Ref ? RefKind.Ref :
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
93Contract.ThrowIfFalse(variable.ParameterModifier is ParameterBehavior.Out or ParameterBehavior.Ref);
ExtractMethod\ParameterStyle.cs (1)
40new ParameterStyle() { ParameterBehavior = ParameterBehavior.Ref, DeclarationBehavior = DeclarationBehavior.None, SaferDeclarationBehavior = DeclarationBehavior.None };