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