1 write to WhenClause
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4915this.WhenClause = whenClause;
13 references to WhenClause
Microsoft.CodeAnalysis.CSharp (13)
Binder\DecisionDagBuilder.cs (1)
175builder.Add(MakeTestsForPattern(++i, arm.Syntax, rootIdentifier, arm.Pattern, arm.WhenClause, arm.Label));
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
171if (arm.WhenClause != null) 173VisitCondition(arm.WhenClause);
FlowAnalysis\NullableWalker.DebugVerifier.cs (2)
372if (node.WhenClause?.ConstantValueOpt != ConstantValue.True) 374this.Visit(node.WhenClause);
FlowAnalysis\NullableWalker_Patterns.cs (2)
925if (!State.Reachable && arm.WhenClause != null) 928VisitForRewriting(arm.WhenClause);
Generated\BoundNodes.xml.Generated.cs (5)
4931if (locals != this.Locals || pattern != this.Pattern || whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label)) 10268this.Visit(node.WhenClause); 11523BoundExpression? whenClause = (BoundExpression?)this.Visit(node.WhenClause); 13630BoundExpression? whenClause = (BoundExpression?)this.Visit(node.WhenClause); 16071new TreeDumperNode("whenClause", null, new TreeDumperNode[] { Visit(node.WhenClause, null) }),
Operations\CSharpOperationFactory.cs (1)
2733IOperation? guard = Create(boundSwitchExpressionArm.WhenClause);