samedi 12 décembre 2020

How to write analyzes to analysis of multilevel inheritance in c#

I'm using Roslyn I'm trying to do something like below

I have a file to analysis

Class1.cs
Using.... 
Using.... 
Namespace {
Class1:class2

}


Class2.cs
Class2:class3
{   

}

I need to know what is the namespace/dll of class3 using c#roslyn analyzer Recurrsivly

NOTE- I'm analyzing class1.cs and want to know class1 inherited which class (ie class2) and if class2 is inherited any class need to know that's inherited class dll name (class3's dll/assembly name)





Aucun commentaire:

Enregistrer un commentaire