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