< Summary

Information
Class: System.Net.Http.HPack.HPackDecodingException
Assembly: System.Net.Http
File(s): D:\runner\runtime\src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HPackDecodingException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 31
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%110%
.ctor(...)100%110%
.ctor(...)100%110%

File(s)

D:\runner\runtime\src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HPackDecodingException.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System.ComponentModel;
 5using System.Runtime.Serialization;
 6
 7namespace System.Net.Http.HPack
 8{
 9    // TODO: Should this be public?
 10    [Serializable]
 11    internal sealed class HPackDecodingException : Exception
 12    {
 13        public HPackDecodingException()
 14        {
 15        }
 16
 017        public HPackDecodingException(string message) : base(message)
 018        {
 019        }
 20
 021        public HPackDecodingException(string message, Exception innerException) : base(message, innerException)
 022        {
 023        }
 24
 25        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlForma
 26        [EditorBrowsable(EditorBrowsableState.Never)]
 027        public HPackDecodingException(SerializationInfo info, StreamingContext context) : base(info, context)
 028        {
 029        }
 30    }
 31}