1 write to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8156this.DeconstructMethod = deconstructMethod;
10 references to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (10)
Binder\DecisionDagBuilder.cs (2)
530if (recursive.DeconstructMethod != null) 532MethodSymbol method = recursive.DeconstructMethod;
Binder\RefSafetyAnalysis.cs (1)
594if (node.DeconstructMethod is { } m &&
Compilation\CSharpSemanticModel.cs (1)
1989return new SymbolInfo(pat.DeconstructMethod.GetPublicSymbol());
FlowAnalysis\NullableWalker_Patterns.cs (1)
196if (rp.DeconstructMethod is null && !rp.Deconstruction.IsDefault)
Generated\BoundNodes.xml.Generated.cs (4)
8177if (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 || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12119return node.Update(declaredType, node.DeconstructMethod, deconstruction, properties, node.IsExplicitNotNullTest, node.Variable, variableAccess, inputType, narrowedType); 14774MethodSymbol? deconstructMethod = GetUpdatedSymbol(node, node.DeconstructMethod); 16974new TreeDumperNode("deconstructMethod", node.DeconstructMethod, null),
Operations\CSharpOperationFactory.cs (1)
2564boundRecursivePattern.DeconstructMethod.GetPublicSymbol(),