12 references to AddressOf
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder.ValueChecks.cs (10)
585
case BoundKind.MethodGroup when valueKind == BindValueKind.
AddressOf
:
820
if (valueKind == BindValueKind.
AddressOf
&& this.IsInAsyncMethod())
913
Debug.Assert(!RequiresAssignableVariable(BindValueKind.
AddressOf
));
914
if (valueKind == BindValueKind.
AddressOf
&& this.IsInAsyncMethod())
980
Debug.Assert(valueKind != BindValueKind.
AddressOf
); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp
2708
case BindValueKind.
AddressOf
:
2739
case BindValueKind.
AddressOf
:
2777
case BindValueKind.
AddressOf
:
2826
Debug.Assert(kind != BindValueKind.
AddressOf
); // If this assert fails, we probably should report ErrorCode.ERR_InvalidAddrOp
2861
if (kind == BindValueKind.
AddressOf
)
Binder\Binder_Operators.cs (2)
2481
BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.
AddressOf
), diagnostics);
2568
bool receiverIsLValue = CheckValueKind(receiver.Syntax, receiver, BindValueKind.
AddressOf
, checkingReceiver: false, diagnostics: BindingDiagnosticBag.Discarded);