Skip to content

Commit

Permalink
Remove IReadOnly* interfaces from newer targets
Browse files Browse the repository at this point in the history
This fixes the accidental addition of these interfaces earlier.
  • Loading branch information
AArnott committed Jul 3, 2017
1 parent e6dcec5 commit 223f500
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions C5/IReadOnlyCollection.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System.Collections;
using System.Collections.Generic;

#if NET35 || PROFILE328

namespace C5
{
/// <summary>
Expand All @@ -22,3 +24,5 @@ public interface IReadOnlyCollection<out T> : IEnumerable<T>, IEnumerable
#endif
}
}

#endif
4 changes: 4 additions & 0 deletions C5/IReadOnlyList.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System.Collections;
using System.Collections.Generic;

#if NET35 || PROFILE328

namespace C5
{
/// <summary>
Expand All @@ -22,3 +24,5 @@ public interface IReadOnlyList<out T> : IReadOnlyCollection<T>, IEnumerable<T>,
T this[int index] { get; }
}
}

#endif

0 comments on commit 223f500

Please sign in to comment.