![Avatar](https://secure.gravatar.com/avatar/35ffff24d76883a55b012374f25046d5.jpg?s=64&d=identicon&r=g)
Hello,
I want to implement the cross-reference functionality by using C# Syntax Edtior.
For that, I want to get the information defined in each method.
For example in the code below, from 'TestMethod',
I want to get the information of 'localVar' and analyze that its type is 'TestClass'.
public void TestMethod(){
var localVar = new TestClass();
}
From ProjectAssembly.SrouceFiles I get the ITypeMemberDefinition.
But, ITypeMemberDefinition, which kind is Method , does not has the member providing the information in the method.
How can I get it? Or is there any other way to access the definition in the method?
Thanks.