We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28cdef3 commit c2d6fd0Copy full SHA for c2d6fd0
src/fsharp/FSharp.Core/iseq.fs
@@ -499,7 +499,9 @@ namespace Microsoft.FSharp.Collections
499
override __.Length () =
500
match enumerable with
501
| :? ICollection<'T> as a -> a.Count
502
+#if !FSCORE_PORTABLE_OLD
503
| :? IReadOnlyCollection<'T> as a -> a.Count
504
+#endif
505
| _ ->
506
use e = enumerable.GetEnumerator ()
507
let mutable count = 0
0 commit comments