< Summary

Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
Total lines: 49
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
File 1: .ctor()100%110%
File 1: .ctor(...)100%110%
File 1: .ctor(...)100%110%
File 2: .ctor(...)100%110%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/811a7eabb75c42db53440e8ba3f60c07511cfd1f/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/ImageFormatLimitationException.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.Reflection.Metadata.Ecma335;
 5
 6namespace System.Reflection.Metadata
 7{
 8    public partial class ImageFormatLimitationException : Exception
 9    {
 10        public ImageFormatLimitationException()
 011            : base()
 012        {
 013        }
 14
 15        public ImageFormatLimitationException(string? message)
 016            : base(message)
 017        {
 018        }
 19
 20        public ImageFormatLimitationException(string? message, Exception? innerException)
 021            : base(message, innerException)
 022        {
 023        }
 24    }
 25}
 26

https://raw.githubusercontent.com/dotnet/runtime/811a7eabb75c42db53440e8ba3f60c07511cfd1f/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/ImageFormatLimitationException.Serialization.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.Reflection.Metadata.Ecma335;
 6using System.Runtime.Serialization;
 7
 8namespace System.Reflection.Metadata
 9{
 10    [Serializable]
 11    public partial class ImageFormatLimitationException : Exception
 12    {
 13#if NET
 14        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlForma
 15        [EditorBrowsable(EditorBrowsableState.Never)]
 16#endif
 17        protected ImageFormatLimitationException(SerializationInfo info, StreamingContext context)
 018            : base(info, context)
 019        {
 020        }
 21    }
 22}
 23