Skip to content

Commit

Permalink
Update field references (#7430)
Browse files Browse the repository at this point in the history
  • Loading branch information
cston authored Oct 3, 2024
1 parent db5ed35 commit f2384e6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ internal bool ShouldBeTrackedForAnalysis(bool hasCompletePointsToAnalysisResult)

public bool HasConstantValue => Symbol switch
{
IFieldSymbol field => field.HasConstantValue,
ILocalSymbol local => local.HasConstantValue,
IFieldSymbol fieldSymbol => fieldSymbol.HasConstantValue,
ILocalSymbol localSymbol => localSymbol.HasConstantValue,
_ => false,
};

Expand Down

0 comments on commit f2384e6

Please # to comment.