Skip to content

Commit

Permalink
Removed partials used by AoT analyzers. Not needed for types never pa…
Browse files Browse the repository at this point in the history
…ssed to a native WinRT method.

See #507 (comment)
  • Loading branch information
Arlodotexe committed Sep 18, 2024
1 parent 45a0833 commit b9c5e26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace CommunityToolkit.WinUI.Media;
/// An <see langword="async"/> <see cref="AsyncMutex"/> implementation that can be easily used inside a <see langword="using"/> block
/// </summary>
#pragma warning disable CA1001 // Types that own disposable fields should be disposable
internal sealed partial class AsyncMutex
internal sealed class AsyncMutex
#pragma warning restore CA1001 // Types that own disposable fields should be disposable
{
/// <summary>
Expand All @@ -32,7 +32,7 @@ public async Task<IDisposable> LockAsync()
/// <summary>
/// Private class that implements the automatic release of the semaphore
/// </summary>
private sealed partial class Lock : IDisposable
private sealed class Lock : IDisposable
{
/// <summary>
/// The <see cref="SemaphoreSlim"/> instance of the parent class
Expand Down

0 comments on commit b9c5e26

Please sign in to comment.