Skip to content

Commit

Permalink
Queue<T> ref in scripts (.netcore1.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernt Røskar Brenna committed Aug 21, 2017
1 parent 9728313 commit 6ac27af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netmockery/DynamicResponseCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public override async Task<string> GetBodyAsync(RequestInfo requestInfo)
MetadataReference.CreateFromFile(typeof(System.IO.File).GetTypeInfo().Assembly.Location),
MetadataReference.CreateFromFile(typeof(System.Diagnostics.Debug).GetTypeInfo().Assembly.Location),
MetadataReference.CreateFromFile(typeof(System.Text.RegularExpressions.Regex).GetTypeInfo().Assembly.Location),
MetadataReference.CreateFromFile(typeof(Newtonsoft.Json.JsonConvert).GetTypeInfo().Assembly.Location)
MetadataReference.CreateFromFile(typeof(Newtonsoft.Json.JsonConvert).GetTypeInfo().Assembly.Location),
MetadataReference.CreateFromFile(typeof(Queue<>).GetTypeInfo().Assembly.Location)
);

var script = CSharpScript.Create<string>(
Expand Down

0 comments on commit 6ac27af

Please sign in to comment.