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