1 write to WhenNotNull
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5973this.WhenNotNull = whenNotNull;
20 references to WhenNotNull
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\EmitExpression.cs (3)
421EmitExpression(expression.WhenNotNull, used); 581EmitExpression(expression.WhenNotNull, used); 615walker.Visit(conditionalAccess.WhenNotNull);
CodeGen\EmitStatement.cs (2)
555EmitCondBranch(ca.WhenNotNull, ref dest, sense: true); 569condition = ca.WhenNotNull;
CodeGen\Optimizer.cs (1)
1596BoundExpression whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull);
FlowAnalysis\AbstractFlowPass.cs (1)
3123VisitRvalue(node.WhenNotNull);
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)) 10474this.Visit(node.WhenNotNull); 11745BoundExpression whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull); 13881BoundExpression whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull); 16368new TreeDumperNode("whenNotNull", null, new TreeDumperNode[] { Visit(node.WhenNotNull, null) }),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
551loweredLeft = conditionalLeft!.WhenNotNull; 1978conditionalAccess.WhenNotNull,
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (2)
105var notNullAccess = NullableAlwaysHasValue(conditionalAccess.WhenNotNull); 112notNullAccess = conditionalAccess.WhenNotNull;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
275var result = LowerLiftedUnaryOperator(operatorKind, syntax, method, constrainedToTypeOpt, conditionalLeft!.WhenNotNull, type);
Lowering\MethodToClassRewriter.cs (1)
609var whenNotNull = (BoundExpression)this.Visit(node.WhenNotNull);
Lowering\SpillSequenceSpiller.cs (1)
1271var whenNotNull = VisitExpression(ref whenNotNullBuilder, node.WhenNotNull);
Lowering\SyntheticBoundNodeFactory.cs (1)
1858conditionalAccess.WhenNotNull,