I want to write a program in c# that extracts Class/Entity complete namespace where it is used in solution/source code with their line number of usage.
Below is the code of mini to get class references without line numbers
var nameSpaces = typeOf(Test).GetTypeInfo().Assembly.GetTypes().ToArray();
//... Here Test is Class
The output will be of program