1 write to WhenNotNull
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5861this.WhenNotNull = whenNotNull;
20 references to WhenNotNull
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\EmitExpression.cs (3)
406EmitExpression(expression.WhenNotNull, used); 566EmitExpression(expression.WhenNotNull, used); 600walker.Visit(conditionalAccess.WhenNotNull);
CodeGen\EmitStatement.cs (2)
555EmitCondBranch(ca.WhenNotNull, ref dest, sense: true); 569condition = ca.WhenNotNull;
CodeGen\Optimizer.cs (1)
1529BoundExpression whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull);
FlowAnalysis\AbstractFlowPass.cs (1)
2927VisitRvalue(node.WhenNotNull);
Generated\BoundNodes.xml.Generated.cs (5)
5880if (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)) 10080this.Visit(node.WhenNotNull); 11313BoundExpression whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull); 13377BoundExpression whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull); 15771new TreeDumperNode("whenNotNull", null, new TreeDumperNode[] { Visit(node.WhenNotNull, null) }),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
549loweredLeft = conditionalLeft!.WhenNotNull; 1898conditionalAccess.WhenNotNull,
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (2)
107var notNullAccess = NullableAlwaysHasValue(conditionalAccess.WhenNotNull); 114notNullAccess = conditionalAccess.WhenNotNull;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
270var result = LowerLiftedUnaryOperator(operatorKind, syntax, method, constrainedToTypeOpt, conditionalLeft!.WhenNotNull, type);
Lowering\MethodToClassRewriter.cs (1)
600var whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull);
Lowering\SpillSequenceSpiller.cs (1)
1173var whenNotNull = VisitExpression(ref whenNotNullBuilder, node.WhenNotNull);
Lowering\SyntheticBoundNodeFactory.cs (1)
1730conditionalAccess.WhenNotNull,