Skip to content

Commit 1a24b4f

Browse files
committed
ci: fix build warnings
1 parent f92751a commit 1a24b4f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/TimeProviderExtensions/System.Threading/PeriodicTimerPort.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ namespace TimeProviderExtensions;
1616
/// <remarks>
1717
/// This timer is intended to be used only by a single consumer at a time: only one call to <see cref="WaitForNextTickAsync" />
1818
/// may be in flight at any given moment. <see cref="Dispose"/> may be used concurrently with an active <see cref="WaitForNextTickAsync"/>
19-
/// to interrupt it and cause it to return false. Similarly, <see cref="Period"/> may be used concurrently with a consumer accessing
20-
/// <see cref="WaitForNextTickAsync"/> in order to change the timer's period.
19+
/// to interrupt it and cause it to return false.
2120
/// </remarks>
2221
internal sealed class PeriodicTimerPort : IDisposable
2322
{

src/TimeProviderExtensions/System.Threading/TimeProviderPeriodicTimerExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static PeriodicTimerWrapper CreatePeriodicTimer(this TimeProvider timePro
4040
/// may be in flight at any given moment. <see cref="System.Threading.PeriodicTimer.Dispose()"/> may be used concurrently with an active <see cref="System.Threading.PeriodicTimer.WaitForNextTickAsync"/>
4141
/// to interrupt it and cause it to return false.
4242
/// </remarks>
43-
/// <returns>A new <see cref="TimeProviderExtensions.PeriodicTimer"/>. Note, this is a wrapper around a <see cref="System.Threading.PeriodicTimer"/>.</returns>
43+
/// <returns>A new <see cref="PeriodicTimer"/>.</returns>
4444
public static System.Threading.PeriodicTimer CreatePeriodicTimer(this TimeProvider timeProvider, TimeSpan period)
4545
=> new PeriodicTimer(period, timeProvider);
4646
#endif

src/TimeProviderExtensions/TimeProviderExtensions.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
<PropertyGroup>
2626
<TargetFrameworks>net8.0;net6.0;netstandard2.0</TargetFrameworks>
27+
<!-- Microsoft.Bcl.TimeProvider 8.0.0-preview.4.23259.5 doesn't support netcoreapp3.1 and has not been tested with it. -->
28+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
2729
<ImplicitUsings>enable</ImplicitUsings>
2830
<Nullable>enable</Nullable>
2931
<Deterministic>true</Deterministic>

0 commit comments

Comments
 (0)