1 write to WhenNotNull
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5861
this.
WhenNotNull
= whenNotNull;
20 references to WhenNotNull
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\EmitExpression.cs (3)
406
EmitExpression(expression.
WhenNotNull
, used);
566
EmitExpression(expression.
WhenNotNull
, used);
600
walker.Visit(conditionalAccess.
WhenNotNull
);
CodeGen\EmitStatement.cs (2)
555
EmitCondBranch(ca.
WhenNotNull
, ref dest, sense: true);
569
condition = ca.
WhenNotNull
;
CodeGen\Optimizer.cs (1)
1529
BoundExpression whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
FlowAnalysis\AbstractFlowPass.cs (1)
2927
VisitRvalue(node.
WhenNotNull
);
Generated\BoundNodes.xml.Generated.cs (5)
5880
if (receiver != this.Receiver || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(hasValueMethodOpt, this.HasValueMethodOpt) || whenNotNull != this.
WhenNotNull
|| whenNullOpt != this.WhenNullOpt || id != this.Id || forceCopyOfNullableValueType != this.ForceCopyOfNullableValueType || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10080
this.Visit(node.
WhenNotNull
);
11313
BoundExpression whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
13377
BoundExpression whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
15771
new TreeDumperNode("whenNotNull", null, new TreeDumperNode[] { Visit(node.
WhenNotNull
, null) }),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
549
loweredLeft = conditionalLeft!.
WhenNotNull
;
1898
conditionalAccess.
WhenNotNull
,
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (2)
107
var notNullAccess = NullableAlwaysHasValue(conditionalAccess.
WhenNotNull
);
114
notNullAccess = conditionalAccess.
WhenNotNull
;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
270
var result = LowerLiftedUnaryOperator(operatorKind, syntax, method, constrainedToTypeOpt, conditionalLeft!.
WhenNotNull
, type);
Lowering\MethodToClassRewriter.cs (1)
600
var whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
Lowering\SpillSequenceSpiller.cs (1)
1173
var whenNotNull = VisitExpression(ref whenNotNullBuilder, node.
WhenNotNull
);
Lowering\SyntheticBoundNodeFactory.cs (1)
1730
conditionalAccess.
WhenNotNull
,