7 references to _useAsReturnValue
Microsoft.CodeAnalysis.Features (7)
ExtractMethod\MethodExtractor.VariableInfo.cs (7)
36
Contract.ThrowIfFalse(!
_useAsReturnValue
|| _variableStyle.ReturnStyle.ReturnBehavior != ReturnBehavior.None);
37
return
_useAsReturnValue
;
53
return (!
_useAsReturnValue
&& _variableStyle.ParameterStyle.ParameterBehavior != ParameterBehavior.None) ||
54
(
_useAsReturnValue
&& _variableStyle.ReturnStyle.ParameterBehavior != ParameterBehavior.None);
62
return
_useAsReturnValue
? _variableStyle.ReturnStyle.ParameterBehavior : _variableStyle.ParameterStyle.ParameterBehavior;
67
=>
_useAsReturnValue
75
if (
_useAsReturnValue
)