1 write to Pattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4914
this.
Pattern
= pattern;
14 references to Pattern
Microsoft.CodeAnalysis.CSharp (14)
Binder\DecisionDagBuilder.cs (1)
175
builder.Add(MakeTestsForPattern(++i, arm.Syntax, rootIdentifier, arm.
Pattern
, arm.WhenClause, arm.Label));
Binder\SwitchExpressionBinder.cs (1)
71
diagnostics.Add(ErrorCode.ERR_SwitchArmSubsumed, arm.
Pattern
.Syntax.Location);
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
164
VisitPattern(arm.
Pattern
);
166
if (!reachableLabels.Contains(arm.Label) || arm.
Pattern
.HasErrors)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
368
this.Visit(node.
Pattern
);
FlowAnalysis\NullableWalker_Patterns.cs (3)
886
LearnFromAnyNullPatterns(slot, originalInputType, arm.
Pattern
);
923
VisitForRewriting(arm.
Pattern
);
1045
=> !arm.
Pattern
.HasErrors && labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state : UnreachableState();
Generated\BoundNodes.xml.Generated.cs (5)
4931
if (locals != this.Locals || pattern != this.
Pattern
|| whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label))
10267
this.Visit(node.
Pattern
);
11522
BoundPattern pattern = (BoundPattern)this.Visit(node.
Pattern
);
13629
BoundPattern pattern = (BoundPattern)this.Visit(node.
Pattern
);
16070
new TreeDumperNode("pattern", null, new TreeDumperNode[] { Visit(node.
Pattern
, null) }),
Operations\CSharpOperationFactory.cs (1)
2732
IPatternOperation pattern = (IPatternOperation)Create(boundSwitchExpressionArm.
Pattern
);