Hi everyone,
We’ve just released NServiceBus 8.0.1.
Fixed bugs
- #6617 Ensure ForwardCancellationTokenAnalyzer treats usages of default expressions properly
How to know if you are affected
You are affected if you are using NServiceBus 8.0.0 and passing default(CancellationToken)
or default
as the value for a CancellationToken
parameter.
Symptoms
During development, the following compiler warning is observed:
AD0001: Analyzer ‘NServiceBus.Core.Analyzer.ForwardCancellationTokenAnalyzer’ threw an exception of type ‘System.IndexOutOfRangeException’ with message ‘Index was outside the bounds of the array.’
If using the TreatWarningsAsErrors option, this warning will prevent the build from succeeding.
When to upgrade
You should upgrade if you are affected by the bug in development. Production systems are not affected.
Where to get it
You can install NServiceBus 8.0.1 from NuGet.
With thanks,
The team in Particular
Please read our release policy for more details.