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 99using System . Runtime . CompilerServices ;
1010using Microsoft . Collections . Extensions ;
1111using 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
1513using 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 > ;
1616#endif
1717
1818namespace Microsoft . Toolkit . Mvvm . Messaging
@@ -288,7 +288,7 @@ public void Reset()
288288 }
289289 }
290290
291- #if ! NETSTANDARD2_1
291+ #if NETSTANDARD2_0
292292 /// <summary>
293293 /// A wrapper for <see cref="System.Runtime.CompilerServices.ConditionalWeakTable{TKey,TValue}"/>
294294 /// that backports the enumerable support to .NET Standard 2.0 through an auxiliary list.
@@ -470,7 +470,7 @@ private ref struct ArrayPoolBufferWriter<T>
470470 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
471471 public static ArrayPoolBufferWriter < T > Create ( )
472472 {
473- return new ArrayPoolBufferWriter < T > { array = ArrayPool < T > . Shared . Rent ( DefaultInitialBufferSize ) } ;
473+ return new ( ) { array = ArrayPool < T > . Shared . Rent ( DefaultInitialBufferSize ) } ;
474474 }
475475
476476 /// <summary>
You can’t perform that action at this time.
0 commit comments