11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (9)
732case BoundKind.MethodGroup when valueKind == BindValueKind.AddressOf: 1006if (valueKind == BindValueKind.AddressOf) 1111Debug.Assert(!RequiresAssignableVariable(BindValueKind.AddressOf)); 1176Debug.Assert(valueKind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3113case BindValueKind.AddressOf: 3144case BindValueKind.AddressOf: 3182case BindValueKind.AddressOf: 3231Debug.Assert(kind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3266if (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);