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