< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.InvalidMessageContractException
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/InvalidMessageContractException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
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)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/InvalidMessageContractException.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;
 5
 6namespace CoreWCF
 7{
 8    //[Serializable]
 9    internal class InvalidMessageContractException : Exception //SystemException
 10    {
 11        public InvalidMessageContractException()
 012            : base()
 13        {
 014        }
 15
 16        public InvalidMessageContractException(string message)
 017            : base(message)
 18        {
 019        }
 20
 21        public InvalidMessageContractException(string message, Exception innerException)
 022            : base(message, innerException)
 23        {
 024        }
 25
 26        //protected InvalidMessageContractException(SerializationInfo info, StreamingContext context)
 27        //    : base(info, context)
 28        //{
 29        //}
 30    }
 31}