1 instantiation of BoundPropertySubpattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8353
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)
8135
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)
8152
public ImmutableArray<
BoundPropertySubpattern
> Properties { get; }
8158
public BoundRecursivePattern Update(BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<BoundPositionalSubpattern> deconstruction, ImmutableArray<
BoundPropertySubpattern
> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType)
8349
public
BoundPropertySubpattern
Update(BoundPropertySubpatternMember? member, bool isLengthOrCount, BoundPattern pattern)
8353
var
result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.HasErrors);
9267
return VisitPropertySubpattern((
BoundPropertySubpattern
)node, arg);
9521
public virtual R VisitPropertySubpattern(
BoundPropertySubpattern
node, A arg) => this.DefaultVisit(node, arg);
9757
public virtual BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node) => this.DefaultVisit(node);
10722
public override BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node)
12078
ImmutableArray<
BoundPropertySubpattern
> properties = this.VisitList(node.Properties);
12118
public override BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node)
14743
ImmutableArray<
BoundPropertySubpattern
> properties = this.VisitList(node.Properties);
16991
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)