1 write to Pattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8431
this.
Pattern
= pattern;
23 references to Pattern
Microsoft.CodeAnalysis.CSharp (23)
Binder\DecisionDagBuilder_CheckOrReachability.cs (4)
1336
Debug.Assert(slice.
Pattern
is not null);
1338
newPattern = WithInputTypeCheckIfNeeded(newPattern, slice.
Pattern
.InputType);
1363
if (slicePattern.
Pattern
is null)
1370
VisitPatternAndCombine(listPattern.Syntax, slicePattern.
Pattern
, startOfLeft);
Binder\DecisionDagBuilder_ListPatterns.cs (2)
36
subpatterns[0] is BoundSlicePattern {
Pattern
: null })
61
if (slice.
Pattern
is BoundPattern slicePattern)
Binder\UnionMatchingRewriter.cs (1)
216
BoundPattern? pattern = RewritePatternWithUnionMatchingToPropertyPattern((BoundPattern)this.Visit(node.
Pattern
));
BoundTree\BoundNode_Source.cs (2)
384
if (slicePattern.
Pattern
is not null)
386
appendSource(slicePattern.
Pattern
);
BoundTree\BoundSlicePattern.cs (1)
18
Debug.Assert(
Pattern
is not BoundPatternWithUnionMatching);
FlowAnalysis\DefiniteAssignment.cs (2)
1971
if (pat.
Pattern
!= null)
1973
assignPatternVariablesAndMarkReadFields(pat.
Pattern
, definitely);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
374
this.Visit(node.
Pattern
);
FlowAnalysis\NullableWalker_Patterns.cs (1)
83
Visit(node.
Pattern
);
FlowAnalysis\VariablesDeclaredWalker.cs (2)
115
if (slicePattern.
Pattern
!= null)
116
NoteDeclaredPatternVariables(slicePattern.
Pattern
);
Generated\BoundNodes.xml.Generated.cs (5)
8451
if (pattern != this.
Pattern
|| indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
11015
this.Visit(node.
Pattern
);
12576
BoundPattern? pattern = (BoundPattern?)this.Visit(node.
Pattern
);
15272
BoundPattern? pattern = (BoundPattern?)this.Visit(node.
Pattern
);
17523
new TreeDumperNode("pattern", null, new TreeDumperNode[] { Visit(node.
Pattern
, null) }),
Operations\CSharpOperationFactory.cs (2)
2674
sliceSymbol: boundNode.
Pattern
is null ? null :
2676
pattern: (IPatternOperation?)Create(boundNode.
Pattern
),