Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Source/Testably.Abstractions.Testing/TimeSystem/TimerMock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ private bool IsTimeout()
/// that a timeout which fires before would not cancel it. Its registration is read by reflection, as the type
/// cannot be referenced.
/// </remarks>
#pragma warning disable S1172 // The parameter is only used when `FEATURE_TIMEPROVIDER` is defined.
private static Func<bool>? GetIsBeingSetUp(object? state)
#pragma warning restore S1172
{
#if FEATURE_TIMEPROVIDER
if (DelayRegistrationField is { } field && state is Task delay &&
Expand Down
Loading