14 references to RefOrOut
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.ValueChecks.cs (9)
344
RefReturn =
RefOrOut
+ 1,
379
return (kind & BindValueKind.
RefOrOut
) == BindValueKind.
RefOrOut
;
519
Debug.Assert(expr.Syntax.Kind() != SyntaxKind.Argument || valueKind == BindValueKind.
RefOrOut
);
524
Debug.Assert(valueKind == BindValueKind.
RefOrOut
);
528
Debug.Assert(valueKind is (BindValueKind.Assignable or BindValueKind.
RefOrOut
or BindValueKind.RefAssignable) || diagnostics.DiagnosticBag is null || diagnostics.HasAnyResolvedErrors());
1607
if (valueKind == BindValueKind.
RefOrOut
)
1726
else if (valueKind == BindValueKind.
RefOrOut
)
3133
case BindValueKind.
RefOrOut
:
Binder\Binder_Expressions.cs (3)
1240
BoundExpression argument = this.BindValue(node.Expression, diagnostics, BindValueKind.
RefOrOut
);
3072
var requiredValueKind = origRefKind == RefKind.In ? BindValueKind.ReadonlyRef : BindValueKind.
RefOrOut
;
3356
BindValueKind.
RefOrOut
;
Binder\Binder_Invocation.cs (1)
1230
receiverArgument = CheckValue(receiverArgument, BindValueKind.
RefOrOut
, diagnostics);
Binder\Binder_Statements.cs (1)
930
: BindValueKind.
RefOrOut
;