0

I have below classes and respective public properties. They are currently called by different projects part of a solution. I have a need that I would like to find the references / callers for Class2 and Class3 properties. I am using SymbolFinder.FindCallersAsync which provides me all the callers who is calling these properties. I get the symbol info which needs to be passed to FindCallersAsync using GetSymbolsWithName. This fetches the callers of Class1 which I don't want to have. Is there a way that we can get symbol based on the actual associated property of a particular class. Also is there a recommendation between using FindReferencesAsync vs FindCallersAsync.

 Class1-> LoanId
 Class2-> LoanId, InterestRate
 Class3->LoanId, NumberofMonths
Punit
  • 1,347
  • 3
  • 20
  • 39

0 Answers0