14 references to RefOrOut
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.ValueChecks.cs (9)
321
RefReturn =
RefOrOut
+ 1,
356
return (kind & BindValueKind.
RefOrOut
) == BindValueKind.
RefOrOut
;
496
Debug.Assert(expr.Syntax.Kind() != SyntaxKind.Argument || valueKind == BindValueKind.
RefOrOut
);
501
Debug.Assert(valueKind == BindValueKind.
RefOrOut
);
505
Debug.Assert(valueKind is (BindValueKind.Assignable or BindValueKind.
RefOrOut
or BindValueKind.RefAssignable) || diagnostics.DiagnosticBag is null || diagnostics.HasAnyResolvedErrors());
1584
if (valueKind == BindValueKind.
RefOrOut
)
1703
else if (valueKind == BindValueKind.
RefOrOut
)
3110
case BindValueKind.
RefOrOut
:
Binder\Binder_Expressions.cs (3)
1240
BoundExpression argument = this.BindValue(node.Expression, diagnostics, BindValueKind.
RefOrOut
);
3075
var requiredValueKind = origRefKind == RefKind.In ? BindValueKind.ReadonlyRef : BindValueKind.
RefOrOut
;
3359
BindValueKind.
RefOrOut
;
Binder\Binder_Invocation.cs (1)
1230
receiverArgument = CheckValue(receiverArgument, BindValueKind.
RefOrOut
, diagnostics);
Binder\Binder_Statements.cs (1)
930
: BindValueKind.
RefOrOut
;