2 writes to UnknownHeaderCount
System (2)
net\System\Net\HttpListener.cs (1)
2346
httpResponse.Headers.
UnknownHeaderCount
= checked((ushort) (challenges == null ? 0 : challenges.Count));
net\System\Net\HttpListenerResponse.cs (1)
834
headers.
UnknownHeaderCount
++;
9 references to UnknownHeaderCount
System (9)
net\System\Net\HttpListener.cs (4)
2351
if (httpResponse.Headers.
UnknownHeaderCount
> 0)
2353
challengeHandles = new GCHandle[httpResponse.Headers.
UnknownHeaderCount
];
2354
headersArray = new UnsafeNclNativeMethods.HttpApi.HTTP_UNKNOWN_HEADER[httpResponse.Headers.
UnknownHeaderCount
];
2359
if (httpResponse.Headers.
UnknownHeaderCount
> 0)
net\System\Net\HttpListenerResponse.cs (5)
820
unknownHeaders[headers.
UnknownHeaderCount
].NameLength = (ushort)bytes.Length;
824
unknownHeaders[headers.
UnknownHeaderCount
].pName = (sbyte*)gcHandle.AddrOfPinnedObject();
829
unknownHeaders[headers.
UnknownHeaderCount
].RawValueLength = (ushort)bytes.Length;
833
unknownHeaders[headers.
UnknownHeaderCount
].pRawValue = (sbyte*)gcHandle.AddrOfPinnedObject();
835
GlobalLog.Print("HttpListenerResponse#" + ValidationHelper.HashString(this) + "::SerializeHeaders(Unknown) UnknownHeaderCount:" + headers.
UnknownHeaderCount
);