How can I get the data type of a property/field? The only way that I'm able to do that is by searching in the syntax tree of the document where the class is stored. It's a bit slow and there's also the problem of inheritance (Need's to search other file, than another, etc). There's a limitation with my solution: In a solution with multi projects, it need's to have all projects loaded!
Is it possible to do something like:
Type mType = Type.GetType("MyNamespace.SampleClass");