20 references to ReturnedBuffers
Microsoft.AspNetCore.Mvc.Razor.Test (18)
RazorPageTest.cs (18)
286
Assert.Empty(bufferScope.
ReturnedBuffers
);
289
Assert.Empty(bufferScope.
ReturnedBuffers
);
301
Assert.Empty(bufferScope.
ReturnedBuffers
);
304
Assert.Single(bufferScope.
ReturnedBuffers
);
308
Assert.Single(bufferScope.
ReturnedBuffers
);
311
Assert.Single(bufferScope.
ReturnedBuffers
);
318
Assert.Single(bufferScope.
ReturnedBuffers
);
321
Assert.Single(bufferScope.
ReturnedBuffers
);
334
Assert.Single(bufferScope.
ReturnedBuffers
);
337
Assert.Single(bufferScope.
ReturnedBuffers
);
349
Assert.Single(bufferScope.
ReturnedBuffers
);
352
Assert.Equal(2, bufferScope.
ReturnedBuffers
.Count);
356
Assert.Equal(2, bufferScope.
ReturnedBuffers
.Count);
359
Assert.Equal(2, bufferScope.
ReturnedBuffers
.Count);
365
Assert.Equal(2, bufferScope.
ReturnedBuffers
.Count);
368
Assert.Equal(3, bufferScope.
ReturnedBuffers
.Count);
372
Assert.Equal(3, bufferScope.
ReturnedBuffers
.Count);
375
Assert.Equal(3, bufferScope.
ReturnedBuffers
.Count);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Buffers\ViewBufferTest.cs (1)
400
Assert.Contains(page.Buffer, scope.
ReturnedBuffers
); // Buffer was returned
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
TestViewBufferScope.cs (1)
23
ReturnedBuffers
.Add(segment);