1 instantiation of BoundPropertySubpattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8374
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)
629
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)
8148
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)
8169
public ImmutableArray<
BoundPropertySubpattern
> Properties { get; }
8175
public BoundRecursivePattern Update(BoundTypeExpression? declaredType, MethodSymbol? deconstructMethod, ImmutableArray<BoundPositionalSubpattern> deconstruction, ImmutableArray<
BoundPropertySubpattern
> properties, bool isExplicitNotNullTest, Symbol? variable, BoundExpression? variableAccess, TypeSymbol inputType, TypeSymbol narrowedType)
8370
public
BoundPropertySubpattern
Update(BoundPropertySubpatternMember? member, bool isLengthOrCount, BoundPattern pattern)
8374
var
result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.HasErrors);
9304
return VisitPropertySubpattern((
BoundPropertySubpattern
)node, arg);
9558
public virtual R VisitPropertySubpattern(
BoundPropertySubpattern
node, A arg) => this.DefaultVisit(node, arg);
9794
public virtual BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node) => this.DefaultVisit(node);
10759
public override BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node)
12115
ImmutableArray<
BoundPropertySubpattern
> properties = this.VisitList(node.Properties);
12155
public override BoundNode? VisitPropertySubpattern(
BoundPropertySubpattern
node)
14780
ImmutableArray<
BoundPropertySubpattern
> properties = this.VisitList(node.Properties);
17028
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)