11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (9)
1000case BoundKind.MethodGroup when valueKind == BindValueKind.AddressOf: 1302if (valueKind == BindValueKind.AddressOf) 1407Debug.Assert(!RequiresAssignableVariable(BindValueKind.AddressOf)); 1472Debug.Assert(valueKind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3510case BindValueKind.AddressOf: 3541case BindValueKind.AddressOf: 3579case BindValueKind.AddressOf: 3628Debug.Assert(kind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3663if (kind == BindValueKind.AddressOf)
Binder\Binder_Operators.cs (2)
4110BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics); 4197bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.AddressOf, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);