codingadventures / LINQBridgeVs

Dumps the content of variables during debugging in Visual Studio to LINQPad
MIT License
128 stars 21 forks source link

Linqpad script generation needs full type name #43

Closed vbjay closed 6 years ago

vbjay commented 6 years ago

visualizing the mem variable in Using mem As New System.IO.MemoryStream(My.Resources.Bill_of_Lading) I get this linqpad script.

void Main()
{
    Truck truck = new Truck("LINQBridgeVsTruck");
    truck.WaitDelivery("MemoryStream").Wait();
    var @object = truck.UnLoadCargo<IO.MemoryStream>();
    @object.Dump("IO.MemoryStream", 2);
}

It should be


void Main()
{
    Truck truck = new Truck("LINQBridgeVsTruck");
    truck.WaitDelivery("MemoryStream").Wait();
    var @object = truck.UnLoadCargo<System.IO.MemoryStream>();
    @object.Dump("IO.MemoryStream", 2);
}
codingadventures commented 6 years ago

Thanks for reporting the issue, I will put a fix for this

codingadventures commented 6 years ago

fixed and available in the upcoming release