mirror of
https://github.com/chylex/.NET-Community-Toolkit.git
synced 2025-04-10 11:15:45 +02:00
Initial refactor pass for .NET 6 ConditionalWeakTable
This commit is contained in:
parent
aaecb7176b
commit
65e6746c57
CommunityToolkit.Mvvm/Messaging
Internals/System/Runtime.CompilerServices
WeakReferenceMessenger.cs
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
||||
using System.Threading;
|
||||
using Microsoft.Collections.Extensions;
|
||||
using CommunityToolkit.Mvvm.Messaging.Internals;
|
||||
#if NETSTANDARD2_0
|
||||
#if NETSTANDARD2_0 || NET6_0_OR_GREATER
|
||||
using RecipientsTable = CommunityToolkit.Mvvm.Messaging.Internals.ConditionalWeakTable2<object, Microsoft.Collections.Extensions.IDictionarySlim>;
|
||||
#else
|
||||
using RecipientsTable = System.Runtime.CompilerServices.ConditionalWeakTable<object, Microsoft.Collections.Extensions.IDictionarySlim>;
|
||||
|
Loading…
Reference in New Issue
Block a user