Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linqpad script generation needs full type name #43

Closed
vbjay opened this issue May 18, 2018 · 2 comments
Closed

Linqpad script generation needs full type name #43

vbjay opened this issue May 18, 2018 · 2 comments
Assignees
Labels

Comments

@vbjay
Copy link

vbjay commented May 18, 2018

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
Copy link
Owner

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

@codingadventures codingadventures self-assigned this May 18, 2018
codingadventures added a commit that referenced this issue May 27, 2018
puts System back in and add System.IO to the exclusion list
@codingadventures
Copy link
Owner

fixed and available in the upcoming release

codingadventures added a commit that referenced this issue May 27, 2018
fixes a bug reading pdbs, which in production environment is not needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants