1 write to Content
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Buffers\PagedBufferedTextWriterTest.cs (1)
14Content = new char[4 * PagedCharBuffer.PageSize];
27 references to Content
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (27)
Buffers\PagedBufferedTextWriterTest.cs (27)
15for (var i = 0; i < Content.Length; i++) 17Content[i] = (char)((i % 26) + 'A'); 31for (var i = 0; i < Content.Length; i++) 33writer.Write(Content[i]); 39Assert.Equal<char>(Content, inner.ToString().ToCharArray()); 70Assert.Equal(4096, Content.Length); // Update these numbers if this changes. 80chunk[j] = Content[offset + j]; 91for (var i = 0; i < Content.Length; i++) 93Assert.Equal(Content[i], array[i]); 96Assert.Equal<char>(Content, inner.ToString().ToCharArray()); 122Assert.Equal(4096, Content.Length); // Update these numbers if this changes. 129writer.Write(Content, offset, chunkSize); 136Assert.Equal<char>(Content, inner.ToString().ToCharArray()); 167Assert.Equal(4096, Content.Length); // Update these numbers if this changes. 174var chunk = new string(Content, offset, chunkSize); 182Assert.Equal<char>(Content, inner.ToString().ToCharArray()); 251for (var i = 0; i < Content.Length; i++) 253writer.Write(Content[i]); 271for (var i = 0; i < Content.Length; i++) 273writer.Write(Content[i]); 280Assert.Equal<char>(Content, inner.ToString().ToCharArray()); 291for (var i = 0; i < Content.Length; i++) 293writer.Write(Content[i]); 300Assert.Equal<char>(Content, inner.ToString().ToCharArray()); 311for (var i = 0; i < Content.Length; i++) 313writer.Write(Content[i]); 320Assert.Equal<char>(Content, inner.ToString().ToCharArray());