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