Skip to content

Commit

Permalink
chore: remove unnecessary default parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
vcup committed May 21, 2024
1 parent d502167 commit 9218fbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static bool IsEnumerableGraphType(this TypeInfo type)
return false;
}
return type.ImplementInterface(typeof(ICollection<>)) ||
type.ImplementInterface(typeof(IReadOnlyCollection<>), true) ||
type.ImplementInterface(typeof(IReadOnlyCollection<>)) ||
type.IsGenericType(typeof(IEnumerable<>)) ||
(type.IsGenericType && type.DeclaringType == typeof(Enumerable)) || // Handles internal Iterator implementations for LINQ; for reference https://referencesource.microsoft.com/#system.core/System/Linq/Enumerable.cs
type.IsArray;
Expand Down

0 comments on commit 9218fbe

Please sign in to comment.