1 write to WhenNullOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5974
this.
WhenNullOpt
= whenNullOpt;
22 references to WhenNullOpt
Microsoft.CodeAnalysis.CSharp (22)
CodeGen\EmitExpression.cs (1)
542
var whenNull = expression.
WhenNullOpt
;
CodeGen\EmitStatement.cs (1)
537
(ca.
WhenNullOpt
?.IsDefaultValue() == false);
CodeGen\Optimizer.cs (1)
1600
var whenNull = node.
WhenNullOpt
;
FlowAnalysis\AbstractFlowPass.cs (2)
3126
if (node.
WhenNullOpt
!= null)
3129
VisitRvalue(node.
WhenNullOpt
);
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))
10475
this.Visit(node.
WhenNullOpt
);
11746
BoundExpression? whenNullOpt = (BoundExpression?)this.Visit(node.
WhenNullOpt
);
13882
BoundExpression? whenNullOpt = (BoundExpression?)this.Visit(node.
WhenNullOpt
);
16369
new TreeDumperNode("whenNullOpt", null, new TreeDumperNode[] { Visit(node.
WhenNullOpt
, null) }),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
547
(conditionalLeft.
WhenNullOpt
== null || conditionalLeft.
WhenNullOpt
.IsDefaultValue());
1973
(conditionalAccess.
WhenNullOpt
== null || conditionalAccess.
WhenNullOpt
.IsDefaultValue()))
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (2)
103
(conditionalAccess.
WhenNullOpt
== null || NullableNeverHasValue(conditionalAccess.
WhenNullOpt
)))
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
271
(conditionalLeft.
WhenNullOpt
== null || conditionalLeft.
WhenNullOpt
.IsDefaultValue());
Lowering\MethodToClassRewriter.cs (1)
610
var whenNullOpt = (BoundExpression?)this.Visit(node.
WhenNullOpt
);
Lowering\SpillSequenceSpiller.cs (1)
1274
var whenNullOpt = VisitExpression(ref whenNullBuilder, node.
WhenNullOpt
);
Lowering\SyntheticBoundNodeFactory.cs (2)
1853
(conditionalAccess.
WhenNullOpt
== null || conditionalAccess.
WhenNullOpt
.IsDefaultValue()))