< Summary

Information
Class: System.Net.Http.HPack.HuffmanDecodingException
Assembly: System.Net.Http
File(s): D:\runner\runtime\src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HuffmanDecodingException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
Total lines: 41
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%
System.Runtime.Serialization.ISerializable.GetObjectData(...)100%110%
GetObjectData(...)100%110%

File(s)

D:\runner\runtime\src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\HuffmanDecodingException.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 HuffmanDecodingException : Exception, ISerializable
 12    {
 13        public HuffmanDecodingException()
 14        {
 15        }
 16
 17        public HuffmanDecodingException(string message)
 018            : base(message)
 019        {
 020        }
 21
 22        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlForma
 23        private HuffmanDecodingException(SerializationInfo info, StreamingContext context)
 024            : base(info, context)
 025        {
 026        }
 27
 28        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlForma
 29        void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
 030        {
 031            base.GetObjectData(serializationInfo, streamingContext);
 032        }
 33
 34        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlForma
 35        [EditorBrowsable(EditorBrowsableState.Never)]
 36        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
 037        {
 038            base.GetObjectData(serializationInfo, streamingContext);
 039        }
 40    }
 41}