Retrive TypeDeclarationSyntax from a referenced type

Hi everybody

I'm writing a source generator and I have a property Type which I want to retrieve its declaration syntax

// ITest.cs
interface ITest {
  //⬇️ I want to get [IType] declaration syntax
  IType Property {get;}
}
Was this page helpful?