1 write to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8347
this.
DeconstructMethod
= deconstructMethod;
15 references to DeconstructMethod
Microsoft.CodeAnalysis.CSharp (15)
Binder\DecisionDagBuilder.cs (2)
936
if (recursive.
DeconstructMethod
!= null)
939
MethodSymbol method = recursive.
DeconstructMethod
;
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
996
recursivePattern.
DeconstructMethod
, recursivePattern.Deconstruction,
1129
newPattern.Syntax, declaredType: node.DeclaredType, deconstructMethod: node.
DeconstructMethod
,
Binder\RefSafetyAnalysis.cs (1)
672
if (node.
DeconstructMethod
is { } m &&
Binder\UnionMatchingRewriter.cs (1)
114
node.DeclaredType, node.
DeconstructMethod
, node.Deconstruction, node.Properties, node.IsExplicitNotNullTest, node.Variable, node.VariableAccess,
Compilation\CSharpSemanticModel.cs (1)
2009
return new SymbolInfo(pat.
DeconstructMethod
.GetPublicSymbol());
FlowAnalysis\AbstractFlowPass.cs (2)
950
DeconstructMethod
: null,
975
rewritten.DeclaredType, rewritten.
DeconstructMethod
, rewritten.Deconstruction,
FlowAnalysis\NullableWalker_Patterns.cs (1)
196
if (rp.
DeconstructMethod
is null && !rp.Deconstruction.IsDefault)
Generated\BoundNodes.xml.Generated.cs (4)
8368
if (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))
12551
MethodSymbol? deconstructMethod = this.VisitMethodSymbol(node.
DeconstructMethod
);
15243
MethodSymbol? deconstructMethod = GetUpdatedSymbol(node, node.
DeconstructMethod
);
17493
new TreeDumperNode("deconstructMethod", node.
DeconstructMethod
, null),
Operations\CSharpOperationFactory.cs (1)
2630
boundRecursivePattern.
DeconstructMethod
.GetPublicSymbol(),