System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest.SendAsync_MultipleCallsWithDispose_NoHandleLeaksManuallyVerifiedUsingLogging C# (CSharp) Method

SendAsync_MultipleCallsWithDispose_NoHandleLeaksManuallyVerifiedUsingLogging() private method

        public void SendAsync_MultipleCallsWithDispose_NoHandleLeaksManuallyVerifiedUsingLogging()
        {
            for (int i = 0; i < 50; i++)
            {
                using (var handler = new WinHttpHandler())
                using (HttpResponseMessage response = SendRequestHelper.Send(handler, () => { }))
                {
                }
            }
        }
        
WinHttpHandlerTest