After updating to TUnit >= 0.70, the following test raises the warning CS8620 at 'expected' ```cs [Test] [MethodDataSource(nameof(Data))] public async Task StartActivity_WithCurrentActivity_CanBeStarted(string? value, string? expected) { await Assert.That(value).IsEqualTo(expected); } ``` and this raises the warning at 'Assert.That(value)' ```cs [Test] [MethodDataSource(nameof(Data))] public async Task StartActivity_WithCurrentActivity_CanBeStarted(object? value, object? expected) { await Assert.That(value).IsEqualTo(expected); } ```
Activity
[-]Warning CS8620 after update to > 0.70[/-][+]Warning CS8620 after update to >= 0.70[/+]volkmnv commentedon Oct 16, 2025
I can confirm that the first case is fixed in 0.72, but the second case still gives a warning
volkmnv commentedon Oct 16, 2025
After updating to 0.72 I also get a new CS8619 in this test at 'MethodToTest(data!)'