11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (9)
994case BoundKind.MethodGroup when valueKind == BindValueKind.AddressOf: 1299if (valueKind == BindValueKind.AddressOf) 1404Debug.Assert(!RequiresAssignableVariable(BindValueKind.AddressOf)); 1469Debug.Assert(valueKind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3484case BindValueKind.AddressOf: 3516case BindValueKind.AddressOf: 3555case BindValueKind.AddressOf: 3604Debug.Assert(kind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3639if (kind == BindValueKind.AddressOf)
Binder\Binder_Operators.cs (2)
4135BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics); 4222bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.AddressOf, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);