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