1 write to Pattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4914this.Pattern = pattern;
14 references to Pattern
Microsoft.CodeAnalysis.CSharp (14)
Binder\DecisionDagBuilder.cs (1)
175builder.Add(MakeTestsForPattern(++i, arm.Syntax, rootIdentifier, arm.Pattern, arm.WhenClause, arm.Label));
Binder\SwitchExpressionBinder.cs (1)
71diagnostics.Add(ErrorCode.ERR_SwitchArmSubsumed, arm.Pattern.Syntax.Location);
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
164VisitPattern(arm.Pattern); 166if (!reachableLabels.Contains(arm.Label) || arm.Pattern.HasErrors)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
368this.Visit(node.Pattern);
FlowAnalysis\NullableWalker_Patterns.cs (3)
886LearnFromAnyNullPatterns(slot, originalInputType, arm.Pattern); 923VisitForRewriting(arm.Pattern); 1045=> !arm.Pattern.HasErrors && labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state : UnreachableState();
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)) 10303this.Visit(node.Pattern); 11558BoundPattern pattern = (BoundPattern)this.Visit(node.Pattern); 13665BoundPattern pattern = (BoundPattern)this.Visit(node.Pattern); 16106new TreeDumperNode("pattern", null, new TreeDumperNode[] { Visit(node.Pattern, null) }),
Operations\CSharpOperationFactory.cs (1)
2732IPatternOperation pattern = (IPatternOperation)Create(boundSwitchExpressionArm.Pattern);