Skip to content

Non-nullable property warning (CS8618): net10.0, MSTest 4, MemberNotNull and field keyword samples #452

Non-nullable property warning (CS8618): net10.0, MSTest 4, MemberNotNull and field keyword samples

Non-nullable property warning (CS8618): net10.0, MSTest 4, MemberNotNull and field keyword samples #452

Status Success
Total duration 1m 12s
Artifacts –

pr-build.yml

on: pull_request
Detect changed article folders
8s
Detect changed article folders
No AI attribution
6s
No AI attribution
Matrix: build-and-test
CI result
4s
CI result
Fit to window
Zoom out
Zoom in

Annotations

6 warnings and 4 notices
Detect changed article folders
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build & test (csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build & test (csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning): csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning/NonNullablePropertyWarning/Address.cs#L11
Non-nullable property 'Region' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier, or declaring the property as nullable, or safely handling the case where 'field' is null in the 'get' accessor.
Build & test (csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning): csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning/NonNullablePropertyWarning/Address.cs#L5
Non-nullable property 'FirstName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build & test (csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning): csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning/NonNullablePropertyWarning/Address.cs#L11
Non-nullable property 'Region' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier, or declaring the property as nullable, or safely handling the case where 'field' is null in the 'get' accessor.
Build & test (csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning): csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning/NonNullablePropertyWarning/Address.cs#L5
Non-nullable property 'FirstName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
No AI attribution
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Detect changed article folders
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Build & test (csharp-basic-topics/NonNullablePropertyMustContainANonNullValueWarning)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CI result
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"