11 instantiations of MemoryBytes
System.Web (11)
Hosting\IIS7WorkerRequest.cs (5)
944
AddBodyToCachedResponse(new
MemoryBytes
(data, length));
966
new
MemoryBytes
(data,
980
new
MemoryBytes
(data,
993
AddBodyToCachedResponse(new
MemoryBytes
(filename, offset, length));
1023
new
MemoryBytes
(fileBytes, bytesRead));
Hosting\ISAPIWorkerRequest.cs (6)
825
AddBodyToCachedResponse(new
MemoryBytes
(fileBytes, bytesRead));
1357
AddBodyToCachedResponse(new
MemoryBytes
(data, length));
1369
AddBodyToCachedResponse(new
MemoryBytes
(data, length, isBufferFromUnmanagedPool ? BufferType.UnmanagedPool : BufferType.Managed));
1390
bytes = new
MemoryBytes
(fileBytes, bytesRead);
2321
return new
MemoryBytes
(filename, offset, size);
2945
return new
MemoryBytes
(buffer, buffer.Length, true, length);
12 references to MemoryBytes
System.Web (12)
Hosting\IIS7WorkerRequest.cs (4)
1320
private void AddBodyToCachedResponse(
MemoryBytes
bytes) {
1358
MemoryBytes
bytes =
1359
(
MemoryBytes
)_cachedResponseBodyBytes[i];
1438
((
MemoryBytes
)_cachedResponseBodyBytes[i]).UnlockMemory();
Hosting\ISAPIWorkerRequest.cs (8)
851
private void AddBodyToCachedResponse(
MemoryBytes
bytes) {
865
((
MemoryBytes
)_cachedResponseBodyBytes[i]).UnlockMemory();
902
MemoryBytes
bytes = (
MemoryBytes
)_cachedResponseBodyBytes[i];
1373
internal virtual
MemoryBytes
PackageFile(String filename, long offset64, long length64, bool isImpersonating) {
1382
MemoryBytes
bytes = null;
2320
internal override
MemoryBytes
PackageFile(string filename, long offset, long size, bool isImpersonating) {
2916
internal override
MemoryBytes
PackageFile(string filename, long offset64, long length64, bool isImpersonating) {