< Summary

Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 20
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%
GetCipherSuites()100%110%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/811a7eabb75c42db53440e8ba3f60c07511cfd1f/src/libraries/System.Net.Security/src/System/Net/Security/CipherSuitesPolicyPal.Windows.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.Collections.Generic;
 5
 6namespace System.Net.Security
 7{
 8    internal sealed class CipherSuitesPolicyPal
 9    {
 010        internal CipherSuitesPolicyPal(IEnumerable<TlsCipherSuite> _ /*allowedCipherSuites*/)
 011        {
 012            throw new PlatformNotSupportedException(SR.net_ssl_ciphersuites_policy_not_supported);
 13        }
 14
 15#pragma warning disable CA1822
 016        internal IEnumerable<TlsCipherSuite> GetCipherSuites() => null!;
 17#pragma warning restore CA1822
 18    }
 19}
 20