< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.IO.PipeException
Assembly: CoreWCF.NetNamedPipe
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.NetNamedPipe/src/CoreWCF/IO/PipeException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 22
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%
.ctor(...)100%110%
.ctor(...)100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.NetNamedPipe/src/CoreWCF/IO/PipeException.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;
 5using System.IO;
 6using System.Runtime.Serialization;
 7using System.Runtime.Versioning;
 8
 9namespace CoreWCF.IO
 10{
 11    [SupportedOSPlatform("windows")]
 12    [Serializable]
 13    public class PipeException : IOException
 14    {
 015        public PipeException() : base() { }
 016        public PipeException(string message) : base(message) { }
 017        public PipeException(string message, int errorCode) : base(message, errorCode) { }
 018        public PipeException(string message, Exception inner) : base(message, inner) { }
 019        protected PipeException(SerializationInfo info, StreamingContext context) : base(info, context) { }
 020        public virtual int ErrorCode => HResult;
 21    }
 22}