How do I find the Interface Inheritance Hierarchy For a type?-Collection of common programming errors

My purpose is to find out if a class implements an interface directly. In the example below, class B implements interface IB and interface IB implements IA.

How do I find out the inheritance hierarchy? When we view a type in Object Browser, it shows a detailed hierarchy. How can I achieve similar result?

interface IA
{
    string Member1 { get;set; }
}

interface IB : IA
{
    string Member2 { get; set; }
}

class B : IB
{
    public string Member1 { get; set; }
    public string Member2 { get; set; }
}

Reflector Screenshot

In the screenshot taken from reflector it shows the hierarchy of the interfaces as well.

How can I find out the interface hierarchy for a Type.