< Summary

Information
Class: System.Net.ExceptionCheck
Assembly: System.Net.Security
File(s): D:\runner\runtime\src\libraries\Common\src\System\Net\ExceptionCheck.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 10
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
IsFatal(...)100%110%

File(s)

D:\runner\runtime\src\libraries\Common\src\System\Net\ExceptionCheck.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
 4namespace System.Net
 5{
 6    internal static class ExceptionCheck
 7    {
 08        internal static bool IsFatal(Exception exception) => exception is OutOfMemoryException;
 9    }
 10}

Methods/Properties

IsFatal(System.Exception)