< Summary

Information
Class: Dotnet.Installer.Core.Exceptions.UnsupportedArchitectureException
Assembly: Dotnet.Installer.Core
File(s): /home/runner/work/dotnet-snap/dotnet-snap/src/Dotnet.Installer.Core/Exceptions/UnsupportedArchitectureException.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 11
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 Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%210%
get_HostArchitecture()100%210%
get_Message()100%210%

File(s)

/home/runner/work/dotnet-snap/dotnet-snap/src/Dotnet.Installer.Core/Exceptions/UnsupportedArchitectureException.cs

#LineLine coverage
 1using System.Runtime.InteropServices;
 2
 3namespace Dotnet.Installer.Core.Exceptions;
 4
 5public class UnsupportedArchitectureException(Architecture architecture)
 06    : ExceptionBase(Error.UnsupportedArchitecture)
 7{
 08    public Architecture HostArchitecture { get; } = architecture;
 9
 010    public override string Message => $"The architecture {HostArchitecture} is currently unsupported";
 11}