1 write to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8332this.DeconstructMethod = deconstructMethod;
14 references to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (14)
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1066recursivePattern.DeconstructMethod, recursivePattern.Deconstruction, 1199newPattern.Syntax, declaredType: node.DeclaredType, deconstructMethod: node.DeconstructMethod,
Binder\DecisionDagBuilder.cs (2)
947if (recursive.DeconstructMethod != null) 950MethodSymbol method = recursive.DeconstructMethod;
Binder\RefSafetyAnalysis.cs (1)
693if (node.DeconstructMethod is { } m &&
Binder\UnionMatchingRewriter.cs (2)
123node.Update(node.DeclaredType, node.DeconstructMethod, node.Deconstruction, node.Properties, node.IsExplicitNotNullTest, 126node.DeclaredType, node.DeconstructMethod, node.Deconstruction, node.Properties, node.IsExplicitNotNullTest, unionMatchingMode: UnionMatchingMode.None, node.Variable, node.VariableAccess,
Compilation\CSharpSemanticModel.cs (1)
2009return new SymbolInfo(pat.DeconstructMethod.GetPublicSymbol());
FlowAnalysis\NullableWalker_Patterns.cs (1)
200if (rp.DeconstructMethod is null && !rp.Deconstruction.IsDefault)
Generated\BoundNodes.xml.Generated.cs (4)
8355if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || unionMatchingMode != this.UnionMatchingMode || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12553MethodSymbol? deconstructMethod = this.VisitMethodSymbol(node.DeconstructMethod); 15252MethodSymbol? deconstructMethod = GetUpdatedSymbol(node, node.DeconstructMethod); 17507new TreeDumperNode("deconstructMethod", node.DeconstructMethod, null),
Operations\CSharpOperationFactory.cs (1)
2630boundRecursivePattern.DeconstructMethod.GetPublicSymbol(),