Skip to content

feat(test): added tests for isonline class #23

feat(test): added tests for isonline class

feat(test): added tests for isonline class #23

Triggered via push August 2, 2024 12:00
Status Failure
Total duration 24s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build: Web/API/Request.cs#L53
Cannot convert null literal to non-nullable reference type.
build: Web/API/Request.cs#L58
Cannot convert null literal to non-nullable reference type.
build: Web/API/Request.cs#L63
Cannot convert null literal to non-nullable reference type.
build: Web/API/Request.cs#L68
Cannot convert null literal to non-nullable reference type.
build: Web/API/Request.cs#L359
Dereference of a possibly null reference.
build: System/Net/IsOnline.cs#L14
Non-nullable field '_address' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: System/Net/IsOnline.cs#L24
Non-nullable field '_hostname' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: System/Net/WakeOnLan.cs#L47
This call site is reachable on all platforms. 'IPv4InterfaceProperties.IsAutomaticPrivateAddressingActive' is supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build: Web/API/Request.cs#L53
Cannot convert null literal to non-nullable reference type.
build: Web/API/Request.cs#L58
Cannot convert null literal to non-nullable reference type.