Skip to content

Commit cedbe4d

Browse files
committed
Removed partials used by AoT analyzers. Not needed for types never passed to a native WinRT method.
See #507 (comment)
1 parent f3de727 commit cedbe4d

File tree

1 file changed

+2
-2
lines changed
  • components/Media/src/Extensions/System.Threading.Tasks

1 file changed

+2
-2
lines changed

components/Media/src/Extensions/System.Threading.Tasks/AsyncMutex.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace CommunityToolkit.WinUI.Media;
1010
/// An <see langword="async"/> <see cref="AsyncMutex"/> implementation that can be easily used inside a <see langword="using"/> block
1111
/// </summary>
1212
#pragma warning disable CA1001 // Types that own disposable fields should be disposable
13-
internal sealed partial class AsyncMutex
13+
internal sealed class AsyncMutex
1414
#pragma warning restore CA1001 // Types that own disposable fields should be disposable
1515
{
1616
/// <summary>
@@ -32,7 +32,7 @@ public async Task<IDisposable> LockAsync()
3232
/// <summary>
3333
/// Private class that implements the automatic release of the semaphore
3434
/// </summary>
35-
private sealed partial class Lock : IDisposable
35+
private sealed class Lock : IDisposable
3636
{
3737
/// <summary>
3838
/// The <see cref="SemaphoreSlim"/> instance of the parent class

0 commit comments

Comments
 (0)