1 write to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8347this.DeconstructMethod = deconstructMethod;
15 references to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (15)
Binder\DecisionDagBuilder.cs (2)
936if (recursive.DeconstructMethod != null) 939MethodSymbol method = recursive.DeconstructMethod;
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
996recursivePattern.DeconstructMethod, recursivePattern.Deconstruction, 1129newPattern.Syntax, declaredType: node.DeclaredType, deconstructMethod: node.DeconstructMethod,
Binder\RefSafetyAnalysis.cs (1)
672if (node.DeconstructMethod is { } m &&
Binder\UnionMatchingRewriter.cs (1)
114node.DeclaredType, node.DeconstructMethod, node.Deconstruction, node.Properties, node.IsExplicitNotNullTest, node.Variable, node.VariableAccess,
Compilation\CSharpSemanticModel.cs (1)
2009return new SymbolInfo(pat.DeconstructMethod.GetPublicSymbol());
FlowAnalysis\AbstractFlowPass.cs (2)
950DeconstructMethod: null, 975rewritten.DeclaredType, rewritten.DeconstructMethod, rewritten.Deconstruction,
FlowAnalysis\NullableWalker_Patterns.cs (1)
196if (rp.DeconstructMethod is null && !rp.Deconstruction.IsDefault)
Generated\BoundNodes.xml.Generated.cs (4)
8368if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || isUnionMatching != this.IsUnionMatching || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12551MethodSymbol? deconstructMethod = this.VisitMethodSymbol(node.DeconstructMethod); 15243MethodSymbol? deconstructMethod = GetUpdatedSymbol(node, node.DeconstructMethod); 17493new TreeDumperNode("deconstructMethod", node.DeconstructMethod, null),
Operations\CSharpOperationFactory.cs (1)
2630boundRecursivePattern.DeconstructMethod.GetPublicSymbol(),