10 references to Count
InMemory.FunctionalTests (2)
Http2\Http2TestBase.cs (2)
446
Debug.Assert(index <= H2StaticTable.
Count
);
454
Debug.Assert(index <= H2StaticTable.
Count
);
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\Http2\Http2Connection.cs (2)
1548
Debug.Assert(index <= H2StaticTable.
Count
);
1556
Debug.Assert(index <= H2StaticTable.
Count
);
src\Shared\Hpack\DynamicHPackEncoder.cs (1)
207
return index == -1 ? -1 : index - Head.Before!.Index + 1 + H2StaticTable.
Count
;
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (3)
549
if (index <= H2StaticTable.
Count
)
564
if (index <= H2StaticTable.
Count
)
662
return ref _dynamicTable[index - H2StaticTable.
Count
- 1];
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\KnownHeaders.cs (2)
1518
var staticHeaders = new (int Index, System.Net.Http.HPack.HeaderField HeaderField)[H2StaticTable.
Count
];
1519
for (var i = 0; i < H2StaticTable.
Count
; i++)