1 write to WhenNullOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5974this.WhenNullOpt = whenNullOpt;
22 references to WhenNullOpt
Microsoft.CodeAnalysis.CSharp (22)
CodeGen\EmitExpression.cs (1)
542var whenNull = expression.WhenNullOpt;
CodeGen\EmitStatement.cs (1)
537(ca.WhenNullOpt?.IsDefaultValue() == false);
CodeGen\Optimizer.cs (1)
1600var whenNull = node.WhenNullOpt;
FlowAnalysis\AbstractFlowPass.cs (2)
3126if (node.WhenNullOpt != null) 3129VisitRvalue(node.WhenNullOpt);
Generated\BoundNodes.xml.Generated.cs (5)
5992if (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)) 10475this.Visit(node.WhenNullOpt); 11746BoundExpression? whenNullOpt = (BoundExpression?)this.Visit(node.WhenNullOpt); 13882BoundExpression? whenNullOpt = (BoundExpression?)this.Visit(node.WhenNullOpt); 16369new 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)
610var whenNullOpt = (BoundExpression?)this.Visit(node.WhenNullOpt);
Lowering\SpillSequenceSpiller.cs (1)
1274var whenNullOpt = VisitExpression(ref whenNullBuilder, node.WhenNullOpt);
Lowering\SyntheticBoundNodeFactory.cs (2)
1853(conditionalAccess.WhenNullOpt == null || conditionalAccess.WhenNullOpt.IsDefaultValue()))