18 instantiations of NonSeekableReadStream
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (10)
XmlDataContractSerializerInputFormatterTest.cs (5)
149
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: true);
213
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
248
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: false);
280
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
339
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
XmlSerializerInputFormatterTest.cs (5)
54
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: true);
91
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
127
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: false);
163
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
205
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (8)
NewtonsoftJsonInputFormatterTest.cs (6)
41
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: false);
77
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
113
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);
453
httpContext.Setup(h => h.Request.Body).Returns(new
NonSeekableReadStream
(content, allowSyncReads: false));
505
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: false);
548
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: false);
NewtonsoftJsonPatchInputFormatterTest.cs (2)
40
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes, allowSyncReads: false);
77
httpContext.Request.Body = new
NonSeekableReadStream
(contentBytes);