11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (9)
762case BoundKind.MethodGroup when valueKind == BindValueKind.AddressOf: 1036if (valueKind == BindValueKind.AddressOf) 1141Debug.Assert(!RequiresAssignableVariable(BindValueKind.AddressOf)); 1206Debug.Assert(valueKind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3216case BindValueKind.AddressOf: 3247case BindValueKind.AddressOf: 3285case BindValueKind.AddressOf: 3334Debug.Assert(kind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3369if (kind == BindValueKind.AddressOf)
Binder\Binder_Operators.cs (2)
2517BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics); 2604bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.AddressOf, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);