Skip to content

Bump Microsoft.NET.Test.Sdk from 18.0.0 to 18.0.1 #1253

Bump Microsoft.NET.Test.Sdk from 18.0.0 to 18.0.1

Bump Microsoft.NET.Test.Sdk from 18.0.0 to 18.0.1 #1253

Triggered via pull request December 1, 2025 08:40
Status Success
Total duration 2m 47s
Artifacts

build-and-test.yml

on: pull_request
automerge
8s
automerge
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
build-and-test on ubuntu-latest: src/Chapter07/Listing07.12.OverrideVersusNewModifier.cs#L20
'Program.DerivedClass.DisplayName()' hides inherited member 'Program.BaseClass.DisplayName()'. Use the new keyword if hiding was intended.
build-and-test on ubuntu-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on ubuntu-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on ubuntu-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L31
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L23
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter03.Tests/Listing03.24.Tests.cs#L9
Use 'Assert.ThrowsExactly' instead of 'Assert.ThrowsException' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0039)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L39
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L31
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L23
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on macOS-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L9
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L23
Prefer 'Assert.ThrowsExactly/ThrowsExactlyAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
build-and-test on windows-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'