Skip to content

Commit c514b56

Browse files
committed
Add missing <inheritdoc/> elements
1 parent 02d1487 commit c514b56

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

src/corelib/Core/Collections/ReadOnlyDictionary`2.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ ICollection IDictionary.Values
171171
}
172172
}
173173

174+
/// <inheritdoc/>
174175
bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
175176
{
176177
get
@@ -179,6 +180,7 @@ bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
179180
}
180181
}
181182

183+
/// <inheritdoc/>
182184
bool IDictionary.IsFixedSize
183185
{
184186
get
@@ -187,6 +189,7 @@ bool IDictionary.IsFixedSize
187189
}
188190
}
189191

192+
/// <inheritdoc/>
190193
bool IDictionary.IsReadOnly
191194
{
192195
get
@@ -195,6 +198,7 @@ bool IDictionary.IsReadOnly
195198
}
196199
}
197200

201+
/// <inheritdoc/>
198202
bool ICollection.IsSynchronized
199203
{
200204
get
@@ -203,6 +207,7 @@ bool ICollection.IsSynchronized
203207
}
204208
}
205209

210+
/// <inheritdoc/>
206211
object ICollection.SyncRoot
207212
{
208213
get
@@ -239,6 +244,7 @@ public bool ContainsKey(TKey key)
239244
return _dictionary.ContainsKey(key);
240245
}
241246

247+
/// <inheritdoc/>
242248
bool IDictionary.Contains(object key)
243249
{
244250
if (key == null)
@@ -286,56 +292,67 @@ public bool TryGetValue(TKey key, out TValue value)
286292
return _dictionary.TryGetValue(key, out value);
287293
}
288294

295+
/// <inheritdoc/>
289296
void IDictionary<TKey, TValue>.Add(TKey key, TValue value)
290297
{
291298
throw new NotSupportedException();
292299
}
293300

301+
/// <inheritdoc/>
294302
void IDictionary.Add(object key, object value)
295303
{
296304
throw new NotSupportedException();
297305
}
298306

307+
/// <inheritdoc/>
299308
bool IDictionary<TKey, TValue>.Remove(TKey key)
300309
{
301310
throw new NotSupportedException();
302311
}
303312

313+
/// <inheritdoc/>
304314
void IDictionary.Remove(object key)
305315
{
306316
throw new NotSupportedException();
307317
}
308318

319+
/// <inheritdoc/>
309320
void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item)
310321
{
311322
throw new NotSupportedException();
312323
}
313324

325+
/// <inheritdoc/>
314326
void ICollection<KeyValuePair<TKey, TValue>>.Clear()
315327
{
316328
throw new NotSupportedException();
317329
}
318330

331+
/// <inheritdoc/>
319332
bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item)
320333
{
321334
throw new NotImplementedException();
322335
}
323336

337+
/// <inheritdoc/>
324338
void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
325339
{
326340
throw new NotImplementedException();
327341
}
328342

343+
/// <inheritdoc/>
329344
bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
330345
{
331346
throw new NotSupportedException();
332347
}
333348

349+
/// <inheritdoc/>
334350
void IDictionary.Clear()
335351
{
336352
throw new NotSupportedException();
337353
}
338354

355+
/// <inheritdoc/>
339356
void ICollection.CopyTo(Array array, int index)
340357
{
341358
throw new NotImplementedException();
@@ -379,6 +396,7 @@ public int Count
379396
}
380397
}
381398

399+
/// <inheritdoc/>
382400
bool ICollection<TKey>.IsReadOnly
383401
{
384402
get
@@ -387,6 +405,7 @@ bool ICollection<TKey>.IsReadOnly
387405
}
388406
}
389407

408+
/// <inheritdoc/>
390409
bool ICollection.IsSynchronized
391410
{
392411
get
@@ -395,6 +414,7 @@ bool ICollection.IsSynchronized
395414
}
396415
}
397416

417+
/// <inheritdoc/>
398418
object ICollection.SyncRoot
399419
{
400420
get
@@ -422,6 +442,7 @@ public void CopyTo(TKey[] array, int arrayIndex)
422442
_keys.CopyTo(array, arrayIndex);
423443
}
424444

445+
/// <inheritdoc/>
425446
void ICollection.CopyTo(Array array, int index)
426447
{
427448
throw new NotImplementedException();
@@ -442,21 +463,25 @@ IEnumerator IEnumerable.GetEnumerator()
442463
return GetEnumerator();
443464
}
444465

466+
/// <inheritdoc/>
445467
bool ICollection<TKey>.Contains(TKey item)
446468
{
447469
return _keys.Contains(item);
448470
}
449471

472+
/// <inheritdoc/>
450473
void ICollection<TKey>.Add(TKey item)
451474
{
452475
throw new NotSupportedException();
453476
}
454477

478+
/// <inheritdoc/>
455479
bool ICollection<TKey>.Remove(TKey item)
456480
{
457481
throw new NotSupportedException();
458482
}
459483

484+
/// <inheritdoc/>
460485
void ICollection<TKey>.Clear()
461486
{
462487
throw new NotSupportedException();
@@ -501,6 +526,7 @@ public int Count
501526
}
502527
}
503528

529+
/// <inheritdoc/>
504530
bool ICollection<TValue>.IsReadOnly
505531
{
506532
get
@@ -509,6 +535,7 @@ bool ICollection<TValue>.IsReadOnly
509535
}
510536
}
511537

538+
/// <inheritdoc/>
512539
bool ICollection.IsSynchronized
513540
{
514541
get
@@ -517,6 +544,7 @@ bool ICollection.IsSynchronized
517544
}
518545
}
519546

547+
/// <inheritdoc/>
520548
object ICollection.SyncRoot
521549
{
522550
get
@@ -544,6 +572,7 @@ public void CopyTo(TValue[] array, int arrayIndex)
544572
_values.CopyTo(array, arrayIndex);
545573
}
546574

575+
/// <inheritdoc/>
547576
void ICollection.CopyTo(Array array, int index)
548577
{
549578
throw new NotImplementedException();
@@ -564,21 +593,25 @@ IEnumerator IEnumerable.GetEnumerator()
564593
return GetEnumerator();
565594
}
566595

596+
/// <inheritdoc/>
567597
bool ICollection<TValue>.Contains(TValue item)
568598
{
569599
return _values.Contains(item);
570600
}
571601

602+
/// <inheritdoc/>
572603
void ICollection<TValue>.Add(TValue item)
573604
{
574605
throw new NotSupportedException();
575606
}
576607

608+
/// <inheritdoc/>
577609
bool ICollection<TValue>.Remove(TValue item)
578610
{
579611
throw new NotSupportedException();
580612
}
581613

614+
/// <inheritdoc/>
582615
void ICollection<TValue>.Clear()
583616
{
584617
throw new NotSupportedException();

0 commit comments

Comments
 (0)