11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (9)
981
case BoundKind.MethodGroup when valueKind == BindValueKind.
AddressOf
:
1255
if (valueKind == BindValueKind.
AddressOf
)
1360
Debug.Assert(!RequiresAssignableVariable(BindValueKind.
AddressOf
));
1425
Debug.Assert(valueKind != BindValueKind.
AddressOf
); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp
3463
case BindValueKind.
AddressOf
:
3494
case BindValueKind.
AddressOf
:
3532
case BindValueKind.
AddressOf
:
3581
Debug.Assert(kind != BindValueKind.
AddressOf
); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp
3616
if (kind == BindValueKind.
AddressOf
)
Binder\Binder_Operators.cs (2)
3971
BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.
AddressOf
), diagnostics);
4058
bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.
AddressOf
, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);