@@ -143,7 +143,7 @@ public int AddRange(IEnumerable<T> collection)
143
143
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is not in the collection range.</exception>
144
144
public int InsertRange ( int index , IEnumerable < T > collection )
145
145
{
146
- ArgumentNullException . ThrowIfNull ( nameof ( collection ) ) ;
146
+ ArgumentNullException . ThrowIfNull ( collection ) ;
147
147
148
148
if ( index < 0 )
149
149
{
@@ -232,7 +232,7 @@ public int RemoveAll(int index, int count, Predicate<T> match)
232
232
throw new ArgumentException ( $ "{ nameof ( index ) } + { nameof ( count ) } must be less than or equal to the ObservableCollection.Count.") ;
233
233
}
234
234
235
- ArgumentNullException . ThrowIfNull ( nameof ( match ) ) ;
235
+ ArgumentNullException . ThrowIfNull ( match ) ;
236
236
237
237
if ( Count == 0 )
238
238
{
@@ -300,7 +300,7 @@ public int RemoveAll(int index, int count, Predicate<T> match)
300
300
/// <exception cref="ArgumentNullException"><paramref name="collection"/> is null.</exception>
301
301
public int RemoveRange ( IEnumerable < T > collection )
302
302
{
303
- ArgumentNullException . ThrowIfNull ( nameof ( collection ) ) ;
303
+ ArgumentNullException . ThrowIfNull ( collection ) ;
304
304
305
305
if ( Count == 0 )
306
306
{
@@ -474,7 +474,7 @@ void OnRangeReplaced(int followingItemIndex, ICollection<T> newCluster, ICollect
474
474
throw new ArgumentException ( $ "{ nameof ( index ) } + { nameof ( count ) } must be less than or equal to the ObservableCollection.Count.") ;
475
475
}
476
476
477
- ArgumentNullException . ThrowIfNull ( nameof ( collection ) ) ;
477
+ ArgumentNullException . ThrowIfNull ( collection ) ;
478
478
479
479
if ( ! collection . Any ( ) )
480
480
{
0 commit comments