1 instantiation of BoundPropertySubpattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8354
var result = new
BoundPropertySubpattern
(this.Syntax, member, isLengthOrCount, pattern, this.HasErrors);
23 references to BoundPropertySubpattern
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Patterns.cs (3)
1026
ImmutableArray<
BoundPropertySubpattern
> properties = default;
1458
private ImmutableArray<
BoundPropertySubpattern
> BindPropertyPatternClause(
1465
var builder = ArrayBuilder<
BoundPropertySubpattern
>.GetInstance(node.Subpatterns.Count);
Binder\DecisionDagBuilder.cs (1)
581
foreach (
var
subpattern in recursive.Properties)
Binder\RefSafetyAnalysis.cs (1)
604
public override BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node)
Compilation\CSharpSemanticModel.cs (1)
1884
case
BoundPropertySubpattern
subpattern:
FlowAnalysis\DefiniteAssignment.cs (1)
2030
foreach (
BoundPropertySubpattern
sub in pat.Properties)
FlowAnalysis\NullableWalker_Patterns.cs (2)
48
public override BoundNode VisitPropertySubpattern(
BoundPropertySubpattern
node)
210
foreach (
BoundPropertySubpattern
subpattern in rp.Properties)
Generated\BoundNodes.xml.Generated.cs (13)
8136
public BoundRecursivePattern(SyntaxNode syntax, BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<BoundPositionalSubpattern> deconstruction, ImmutableArray<
BoundPropertySubpattern
> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType, bool hasErrors = false)
8153
public ImmutableArray<
BoundPropertySubpattern
> Properties { get; }
8159
public BoundRecursivePattern Update(BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<BoundPositionalSubpattern> deconstruction, ImmutableArray<
BoundPropertySubpattern
> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType)
8350
public
BoundPropertySubpattern
Update(BoundPropertySubpatternMember? member, bool isLengthOrCount, BoundPattern pattern)
8354
var
result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.HasErrors);
9268
return VisitPropertySubpattern((
BoundPropertySubpattern
)node, arg);
9522
public virtual R VisitPropertySubpattern(
BoundPropertySubpattern
node, A arg) => this.DefaultVisit(node, arg);
9758
public virtual BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node) => this.DefaultVisit(node);
10723
public override BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node)
12079
ImmutableArray<
BoundPropertySubpattern
> properties = this.VisitList(node.Properties);
12119
public override BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node)
14744
ImmutableArray<
BoundPropertySubpattern
> properties = this.VisitList(node.Properties);
16992
public override TreeDumperNode VisitPropertySubpattern(
BoundPropertySubpattern
node, object? arg) => new TreeDumperNode("propertySubpattern", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (1)
2852
internal IPropertySubpatternOperation CreatePropertySubpattern(
BoundPropertySubpattern
subpattern, ITypeSymbol matchedType)