11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (9)
982case BoundKind.MethodGroup when valueKind == BindValueKind.AddressOf: 1256if (valueKind == BindValueKind.AddressOf) 1361Debug.Assert(!RequiresAssignableVariable(BindValueKind.AddressOf)); 1426Debug.Assert(valueKind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3464case BindValueKind.AddressOf: 3495case BindValueKind.AddressOf: 3533case BindValueKind.AddressOf: 3582Debug.Assert(kind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3617if (kind == BindValueKind.AddressOf)
Binder\Binder_Operators.cs (2)
4134BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics); 4221bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.AddressOf, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);