Skip to content

Commit 4dcd280

Browse files
committed
Rename parameters so <inheritdoc/> works properly
1 parent 5acd7c8 commit 4dcd280

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -442,17 +442,17 @@ IEnumerator IEnumerable.GetEnumerator()
442442
return GetEnumerator();
443443
}
444444

445-
bool ICollection<TKey>.Contains(TKey value)
445+
bool ICollection<TKey>.Contains(TKey item)
446446
{
447-
return _keys.Contains(value);
447+
return _keys.Contains(item);
448448
}
449449

450-
void ICollection<TKey>.Add(TKey value)
450+
void ICollection<TKey>.Add(TKey item)
451451
{
452452
throw new NotSupportedException();
453453
}
454454

455-
bool ICollection<TKey>.Remove(TKey value)
455+
bool ICollection<TKey>.Remove(TKey item)
456456
{
457457
throw new NotSupportedException();
458458
}
@@ -564,17 +564,17 @@ IEnumerator IEnumerable.GetEnumerator()
564564
return GetEnumerator();
565565
}
566566

567-
bool ICollection<TValue>.Contains(TValue value)
567+
bool ICollection<TValue>.Contains(TValue item)
568568
{
569-
return _values.Contains(value);
569+
return _values.Contains(item);
570570
}
571571

572-
void ICollection<TValue>.Add(TValue value)
572+
void ICollection<TValue>.Add(TValue item)
573573
{
574574
throw new NotSupportedException();
575575
}
576576

577-
bool ICollection<TValue>.Remove(TValue value)
577+
bool ICollection<TValue>.Remove(TValue item)
578578
{
579579
throw new NotSupportedException();
580580
}

src/corelib/Core/HttpStatusCodeParser.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,18 @@ public static HttpStatusCodeParser Default
7878
}
7979

8080
/// <inheritdoc/>
81-
public virtual bool TryParse(string value, out Status result)
81+
public virtual bool TryParse(string value, out Status status)
8282
{
8383
if (value == null)
8484
{
85-
result = null;
85+
status = null;
8686
return false;
8787
}
8888

8989
var match = _expression.Match(value);
9090
if (!match.Success)
9191
{
92-
result = null;
92+
status = null;
9393
return false;
9494
}
9595

@@ -98,7 +98,7 @@ public virtual bool TryParse(string value, out Status result)
9898
if (string.IsNullOrEmpty(description))
9999
description = statusCode.ToString();
100100

101-
result = new Status((int)statusCode, description);
101+
status = new Status((int)statusCode, description);
102102
return true;
103103
}
104104
}

0 commit comments

Comments
 (0)