@@ -200,8 +200,16 @@ public static partial class ImmutableArray
200
200
public static System . Collections . Immutable . ImmutableArray < T > CreateRange < T > ( System . Collections . Generic . IEnumerable < T > items ) { throw null ; }
201
201
public static System . Collections . Immutable . ImmutableArray < TResult > CreateRange < TSource , TResult > ( System . Collections . Immutable . ImmutableArray < TSource > items , System . Func < TSource , TResult > selector ) { throw null ; }
202
202
public static System . Collections . Immutable . ImmutableArray < TResult > CreateRange < TSource , TResult > ( System . Collections . Immutable . ImmutableArray < TSource > items , int start , int length , System . Func < TSource , TResult > selector ) { throw null ; }
203
- public static System . Collections . Immutable . ImmutableArray < TResult > CreateRange < TSource , TArg , TResult > ( System . Collections . Immutable . ImmutableArray < TSource > items , System . Func < TSource , TArg , TResult > selector , TArg arg ) { throw null ; }
204
- public static System . Collections . Immutable . ImmutableArray < TResult > CreateRange < TSource , TArg , TResult > ( System . Collections . Immutable . ImmutableArray < TSource > items , int start , int length , System . Func < TSource , TArg , TResult > selector , TArg arg ) { throw null ; }
203
+ public static System . Collections . Immutable . ImmutableArray < TResult > CreateRange < TSource , TArg , TResult > ( System . Collections . Immutable . ImmutableArray < TSource > items , System . Func < TSource , TArg , TResult > selector , TArg arg )
204
+ #if NET9_0_OR_GREATER
205
+ where TArg : allows ref struct
206
+ #endif
207
+ { throw null ; }
208
+ public static System . Collections . Immutable . ImmutableArray < TResult > CreateRange < TSource , TArg , TResult > ( System . Collections . Immutable . ImmutableArray < TSource > items , int start , int length , System . Func < TSource , TArg , TResult > selector , TArg arg )
209
+ #if NET9_0_OR_GREATER
210
+ where TArg : allows ref struct
211
+ #endif
212
+ { throw null ; }
205
213
public static System . Collections . Immutable . ImmutableArray < T > Create < T > ( ) { throw null ; }
206
214
public static System . Collections . Immutable . ImmutableArray < T > Create < T > ( System . Collections . Immutable . ImmutableArray < T > items , int start , int length ) { throw null ; }
207
215
public static System . Collections . Immutable . ImmutableArray < T > Create < T > ( T item ) { throw null ; }
@@ -672,7 +680,11 @@ public static partial class ImmutableInterlocked
672
680
public static void Enqueue < T > ( ref System . Collections . Immutable . ImmutableQueue < T > location , T value ) { }
673
681
public static TValue GetOrAdd < TKey , TValue > ( ref System . Collections . Immutable . ImmutableDictionary < TKey , TValue > location , TKey key , System . Func < TKey , TValue > valueFactory ) where TKey : notnull { throw null ; }
674
682
public static TValue GetOrAdd < TKey , TValue > ( ref System . Collections . Immutable . ImmutableDictionary < TKey , TValue > location , TKey key , TValue value ) where TKey : notnull { throw null ; }
675
- public static TValue GetOrAdd < TKey , TValue , TArg > ( ref System . Collections . Immutable . ImmutableDictionary < TKey , TValue > location , TKey key , System . Func < TKey , TArg , TValue > valueFactory , TArg factoryArgument ) where TKey : notnull { throw null ; }
683
+ public static TValue GetOrAdd < TKey , TValue , TArg > ( ref System . Collections . Immutable . ImmutableDictionary < TKey , TValue > location , TKey key , System . Func < TKey , TArg , TValue > valueFactory , TArg factoryArgument ) where TKey : notnull
684
+ #if NET9_0_OR_GREATER
685
+ where TArg : allows ref struct
686
+ #endif
687
+ { throw null ; }
676
688
public static System . Collections . Immutable . ImmutableArray < T > InterlockedCompareExchange < T > ( ref System . Collections . Immutable . ImmutableArray < T > location , System . Collections . Immutable . ImmutableArray < T > value , System . Collections . Immutable . ImmutableArray < T > comparand ) { throw null ; }
677
689
public static System . Collections . Immutable . ImmutableArray < T > InterlockedExchange < T > ( ref System . Collections . Immutable . ImmutableArray < T > location , System . Collections . Immutable . ImmutableArray < T > value ) { throw null ; }
678
690
public static bool InterlockedInitialize < T > ( ref System . Collections . Immutable . ImmutableArray < T > location , System . Collections . Immutable . ImmutableArray < T > value ) { throw null ; }
@@ -683,9 +695,17 @@ public static void Push<T>(ref System.Collections.Immutable.ImmutableStack<T> lo
683
695
public static bool TryRemove < TKey , TValue > ( ref System . Collections . Immutable . ImmutableDictionary < TKey , TValue > location , TKey key , [ System . Diagnostics . CodeAnalysis . MaybeNullWhenAttribute ( false ) ] out TValue value ) where TKey : notnull { throw null ; }
684
696
public static bool TryUpdate < TKey , TValue > ( ref System . Collections . Immutable . ImmutableDictionary < TKey , TValue > location , TKey key , TValue newValue , TValue comparisonValue ) where TKey : notnull { throw null ; }
685
697
public static bool Update < T > ( ref T location , System . Func < T , T > transformer ) where T : class ? { throw null ; }
686
- public static bool Update < T , TArg > ( ref T location , System . Func < T , TArg , T > transformer , TArg transformerArgument ) where T : class ? { throw null ; }
698
+ public static bool Update < T , TArg > ( ref T location , System . Func < T , TArg , T > transformer , TArg transformerArgument ) where T : class ?
699
+ #if NET9_0_OR_GREATER
700
+ where TArg : allows ref struct
701
+ #endif
702
+ { throw null ; }
687
703
public static bool Update < T > ( ref System . Collections . Immutable . ImmutableArray < T > location , Func < System . Collections . Immutable . ImmutableArray < T > , System . Collections . Immutable . ImmutableArray < T > > transformer ) { throw null ; }
688
- public static bool Update < T , TArg > ( ref System . Collections . Immutable . ImmutableArray < T > location , Func < System . Collections . Immutable . ImmutableArray < T > , TArg , System . Collections . Immutable . ImmutableArray < T > > transformer , TArg transformerArgument ) { throw null ; }
704
+ public static bool Update < T , TArg > ( ref System . Collections . Immutable . ImmutableArray < T > location , Func < System . Collections . Immutable . ImmutableArray < T > , TArg , System . Collections . Immutable . ImmutableArray < T > > transformer , TArg transformerArgument )
705
+ #if NET9_0_OR_GREATER
706
+ where TArg : allows ref struct
707
+ #endif
708
+ { throw null ; }
689
709
}
690
710
public static partial class ImmutableList
691
711
{
0 commit comments