11 references to AddressOf
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (2)
4135
BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.
AddressOf
), diagnostics);
4222
bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.
AddressOf
, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);
Binder\Binder.ValueChecks.cs (9)
995
case BoundKind.MethodGroup when valueKind == BindValueKind.
AddressOf
:
1300
if (valueKind == BindValueKind.
AddressOf
)
1405
Debug.Assert(!RequiresAssignableVariable(BindValueKind.
AddressOf
));
1470
Debug.Assert(valueKind != BindValueKind.
AddressOf
); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp
3485
case BindValueKind.
AddressOf
:
3517
case BindValueKind.
AddressOf
:
3556
case BindValueKind.
AddressOf
:
3605
Debug.Assert(kind != BindValueKind.
AddressOf
); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp
3640
if (kind == BindValueKind.
AddressOf
)