6 instantiations of BoundConditionalReceiver
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
11099
receiver = new
BoundConditionalReceiver
(receiver.Syntax, 0, receiverType ?? CreateErrorType(), hasErrors: receiver.HasErrors) { WasCompilerGenerated = true };
Compiler\AnonymousTypeMethodBodySynthesizer.cs (1)
265
F.Call(new
BoundConditionalReceiver
(
Generated\BoundNodes.xml.Generated.cs (1)
6031
var result = new
BoundConditionalReceiver
(this.Syntax, id, type, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
84
_currentConditionalAccessTarget = new
BoundConditionalReceiver
(
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
346
callReceiver = new
BoundConditionalReceiver
(
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
744
new
BoundConditionalReceiver
(syntax, currentConditionalAccessID, expr.Type),
22 references to BoundConditionalReceiver
Microsoft.CodeAnalysis.CSharp (22)
CodeGen\EmitExpression.cs (5)
337
EmitConditionalReceiver((
BoundConditionalReceiver
)expression, used);
632
if (node.ReceiverOpt is
BoundConditionalReceiver
{ Id: var id } && id == _conditionalAccess.Id)
639
public override BoundNode VisitConditionalReceiver(
BoundConditionalReceiver
node)
652
private void EmitConditionalReceiver(
BoundConditionalReceiver
expression, bool used)
2106
BoundConditionalReceiver
{ Type: { IsReferenceType: false, IsValueType: false } })
FlowAnalysis\AbstractFlowPass.cs (1)
3132
public override BoundNode VisitConditionalReceiver(
BoundConditionalReceiver
node)
FlowAnalysis\NullableWalker.cs (2)
426
/// Used to allow <see cref="MakeSlot(BoundExpression)"/> to substitute the correct slot for a <see cref="
BoundConditionalReceiver
"/> when
6161
public override BoundNode? VisitConditionalReceiver(
BoundConditionalReceiver
node)
Generated\BoundNodes.xml.Generated.cs (10)
6027
public
BoundConditionalReceiver
Update(int id, TypeSymbol type)
6031
var
result = new BoundConditionalReceiver(this.Syntax, id, type, this.HasErrors);
9149
return VisitConditionalReceiver((
BoundConditionalReceiver
)node, arg);
9462
public virtual R VisitConditionalReceiver(
BoundConditionalReceiver
node, A arg) => this.DefaultVisit(node, arg);
9698
public virtual BoundNode? VisitConditionalReceiver(
BoundConditionalReceiver
node) => this.DefaultVisit(node);
10441
public override BoundNode? VisitConditionalReceiver(
BoundConditionalReceiver
node) => null;
11713
public override BoundNode? VisitConditionalReceiver(
BoundConditionalReceiver
node)
13860
public override BoundNode? VisitConditionalReceiver(
BoundConditionalReceiver
node)
13867
BoundConditionalReceiver
updatedNode = node.Update(node.Id, infoAndType.Type!);
16340
public override TreeDumperNode VisitConditionalReceiver(
BoundConditionalReceiver
node, object? arg) => new TreeDumperNode("conditionalReceiver", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
202
public override BoundNode VisitConditionalReceiver(
BoundConditionalReceiver
node)
Lowering\SpillSequenceSpiller.cs (1)
1380
public override BoundNode VisitConditionalReceiver(
BoundConditionalReceiver
node)
Operations\CSharpOperationFactory.cs (2)
155
return CreateBoundConditionalReceiverOperation((
BoundConditionalReceiver
)boundNode);
1716
private IConditionalAccessInstanceOperation CreateBoundConditionalReceiverOperation(
BoundConditionalReceiver
boundConditionalReceiver)