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