1 write to WhenNotNull
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5973
this.
WhenNotNull
= whenNotNull;
20 references to WhenNotNull
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\EmitExpression.cs (3)
421
EmitExpression(expression.
WhenNotNull
, used);
581
EmitExpression(expression.
WhenNotNull
, used);
615
walker.Visit(conditionalAccess.
WhenNotNull
);
CodeGen\EmitStatement.cs (2)
555
EmitCondBranch(ca.
WhenNotNull
, ref dest, sense: true);
569
condition = ca.
WhenNotNull
;
CodeGen\Optimizer.cs (1)
1596
BoundExpression whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
FlowAnalysis\AbstractFlowPass.cs (1)
3123
VisitRvalue(node.
WhenNotNull
);
Generated\BoundNodes.xml.Generated.cs (5)
5992
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))
10474
this.Visit(node.
WhenNotNull
);
11745
BoundExpression whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
13881
BoundExpression whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
16368
new TreeDumperNode("whenNotNull", null, new TreeDumperNode[] { Visit(node.
WhenNotNull
, null) }),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
551
loweredLeft = conditionalLeft!.
WhenNotNull
;
1978
conditionalAccess.
WhenNotNull
,
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (2)
105
var notNullAccess = NullableAlwaysHasValue(conditionalAccess.
WhenNotNull
);
112
notNullAccess = conditionalAccess.
WhenNotNull
;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
275
var result = LowerLiftedUnaryOperator(operatorKind, syntax, method, constrainedToTypeOpt, conditionalLeft!.
WhenNotNull
, type);
Lowering\MethodToClassRewriter.cs (1)
609
var whenNotNull = (BoundExpression)this.Visit(node.
WhenNotNull
);
Lowering\SpillSequenceSpiller.cs (1)
1271
var whenNotNull = VisitExpression(ref whenNotNullBuilder, node.
WhenNotNull
);
Lowering\SyntheticBoundNodeFactory.cs (1)
1858
conditionalAccess.
WhenNotNull
,