File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Microsoft.Toolkit.Mvvm/Messaging Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
using System . Runtime . CompilerServices ;
10
10
using Microsoft . Collections . Extensions ;
11
11
using Microsoft . Toolkit . Mvvm . Messaging . Internals ;
12
- #if NETSTANDARD2_1
13
- using RecipientsTable = System . Runtime . CompilerServices . ConditionalWeakTable < object , Microsoft . Collections . Extensions . IDictionarySlim > ;
14
- #else
12
+ #if NETSTANDARD2_0
15
13
using RecipientsTable = Microsoft . Toolkit . Mvvm . Messaging . WeakReferenceMessenger . ConditionalWeakTable < object , Microsoft . Collections . Extensions . IDictionarySlim > ;
14
+ #else
15
+ using RecipientsTable = System . Runtime . CompilerServices . ConditionalWeakTable < object , Microsoft . Collections . Extensions . IDictionarySlim > ;
16
16
#endif
17
17
18
18
namespace Microsoft . Toolkit . Mvvm . Messaging
@@ -288,7 +288,7 @@ public void Reset()
288
288
}
289
289
}
290
290
291
- #if ! NETSTANDARD2_1
291
+ #if NETSTANDARD2_0
292
292
/// <summary>
293
293
/// A wrapper for <see cref="System.Runtime.CompilerServices.ConditionalWeakTable{TKey,TValue}"/>
294
294
/// that backports the enumerable support to .NET Standard 2.0 through an auxiliary list.
@@ -470,7 +470,7 @@ private ref struct ArrayPoolBufferWriter<T>
470
470
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
471
471
public static ArrayPoolBufferWriter < T > Create ( )
472
472
{
473
- return new ArrayPoolBufferWriter < T > { array = ArrayPool < T > . Shared . Rent ( DefaultInitialBufferSize ) } ;
473
+ return new ( ) { array = ArrayPool < T > . Shared . Rent ( DefaultInitialBufferSize ) } ;
474
474
}
475
475
476
476
/// <summary>
You can’t perform that action at this time.
0 commit comments