Skip to content

Modernize C# code to idiomatic C# 12 style #177

Modernize C# code to idiomatic C# 12 style

Modernize C# code to idiomatic C# 12 style #177

Triggered via push March 19, 2026 09:16
Status Success
Total duration 1m 18s
Artifacts

unit-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, actions/setup-dotnet@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build: tests/AzureMapsControl.Components.Tests/Json/JsonConverterTests.cs#L21
Cannot convert null literal to non-nullable reference type.
build: tests/AzureMapsControl.Components.Tests/Layers/TileLayerOptions.cs#L62
Cannot convert null literal to non-nullable reference type.
build: tests/AzureMapsControl.Components.Tests/Layers/BubbleLayerOptions.cs#L53
Cannot convert null literal to non-nullable reference type.
build: tests/AzureMapsControl.Components.Tests/Animations/AnimationService.cs#L68
Cannot convert null literal to non-nullable reference type.
build: tests/AzureMapsControl.Components.Tests/Controls/Control.cs#L48
Nullable value type may be null.
build: tests/AzureMapsControl.Components.Tests/Animations/AnimationService.cs#L56
Cannot convert null literal to non-nullable reference type.
build: tests/AzureMapsControl.Components.Tests/Controls/ZoomControl.cs#L26
Nullable value type may be null.
build: tests/AzureMapsControl.Components.Tests/Controls/CompassControl.cs#L28
Nullable value type may be null.
build: tests/AzureMapsControl.Components.Tests/Controls/Control.cs#L27
Nullable value type may be null.
build: tests/AzureMapsControl.Components.Tests/Data/VectorTileSourceOptions.cs#L39
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L1160
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L1160
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L145
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L144
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L143
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L142
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L141
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L140
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Map/Map.cs#L139
Cannot convert null literal to non-nullable reference type.
build: src/AzureMapsControl.Components/Indoor/LevelControl.cs#L20
Cannot convert null literal to non-nullable reference type.