11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (2)
4135BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics); 4225bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.AddressOf, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);
Binder\Binder.ValueChecks.cs (9)
979case BoundKind.MethodGroup when valueKind == BindValueKind.AddressOf: 1284if (valueKind == BindValueKind.AddressOf) 1389Debug.Assert(!RequiresAssignableVariable(BindValueKind.AddressOf)); 1454Debug.Assert(valueKind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3469case BindValueKind.AddressOf: 3501case BindValueKind.AddressOf: 3540case BindValueKind.AddressOf: 3589Debug.Assert(kind != BindValueKind.AddressOf); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp 3624if (kind == BindValueKind.AddressOf)