aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Extensions/CopyToExtensions.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2020-01-11 02:02:48 +0300
committerGitHub <noreply@github.com>2020-01-11 02:02:48 +0300
commitaca4d678a2a6aa46b57837d3a6c1bc9d4c537d7b (patch)
tree88f29a76eca6f3f6cdd299ad32beab5c5d36b72a /MediaBrowser.Common/Extensions/CopyToExtensions.cs
parentfa1aeeb18a766fd7b2265dc0352ee100d8377163 (diff)
parentbb236b95916c7fe0fc04fefbb409686ab289a758 (diff)
Merge pull request #2136 from Bond-009/warn12
More warnings (removed)
Diffstat (limited to 'MediaBrowser.Common/Extensions/CopyToExtensions.cs')
-rw-r--r--MediaBrowser.Common/Extensions/CopyToExtensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Common/Extensions/CopyToExtensions.cs b/MediaBrowser.Common/Extensions/CopyToExtensions.cs
index 78a73f07e..2ecbc6539 100644
--- a/MediaBrowser.Common/Extensions/CopyToExtensions.cs
+++ b/MediaBrowser.Common/Extensions/CopyToExtensions.cs
@@ -5,7 +5,7 @@ namespace MediaBrowser.Common.Extensions
/// <summary>
/// Provides <c>CopyTo</c> extensions methods for <see cref="IReadOnlyList{T}" />.
/// </summary>
- public static class CollectionExtensions
+ public static class CopyToExtensions
{
/// <summary>
/// Copies all the elements of the current collection to the specified list
@@ -14,7 +14,7 @@ namespace MediaBrowser.Common.Extensions
/// <param name="source">The current collection that is the source of the elements.</param>
/// <param name="destination">The list that is the destination of the elements copied from the current collection.</param>
/// <param name="index">A 32-bit integer that represents the index in <c>destination</c> at which copying begins.</param>
- /// <typeparam name="T"></typeparam>
+ /// <typeparam name="T">The type of the array.</typeparam>
public static void CopyTo<T>(this IReadOnlyList<T> source, IList<T> destination, int index = 0)
{
for (int i = 0; i < source.Count; i++)