< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.IdentityModel.Tokens.SecurityTokenValidationException
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Tokens/SecurityTokenValidationException.cs
Line coverage
25%
Covered lines: 2
Uncovered lines: 6
Coverable lines: 8
Total lines: 32
Line coverage: 25%
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%11100%
.ctor(...)100%110%
.ctor(...)100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Tokens/SecurityTokenValidationException.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.Runtime.Serialization;
 6
 7namespace CoreWCF.IdentityModel.Tokens
 8{
 9    [Serializable]
 10    public class SecurityTokenValidationException : SecurityTokenException
 11    {
 12        public SecurityTokenValidationException()
 013            : base()
 14        {
 015        }
 16
 17        public SecurityTokenValidationException(string message)
 918            : base(message)
 19        {
 920        }
 21
 22        public SecurityTokenValidationException(string message, Exception innerException)
 023            : base(message, innerException)
 24        {
 025        }
 26
 27        protected SecurityTokenValidationException(SerializationInfo info, StreamingContext context)
 028            : base(info, context)
 29        {
 030        }
 31    }
 32}