1 write to WhenNullOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5973
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)
3122
if (node.
WhenNullOpt
!= null)
3125
VisitRvalue(node.
WhenNullOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
5991
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))
10438
this.Visit(node.
WhenNullOpt
);
11709
BoundExpression? whenNullOpt = (BoundExpression?)this.Visit(node.
WhenNullOpt
);
13845
BoundExpression? whenNullOpt = (BoundExpression?)this.Visit(node.
WhenNullOpt
);
16332
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()))