File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using System . Collections ;
2+ using System . Collections . Generic ;
3+
4+ namespace DirectSQL {
5+ /// <summary>
6+ /// Walk around for prohibited implemeting IEnumerable<dynamic>
7+ /// </summary>
8+ public abstract class EnumerableObject < T > : IEnumerable < T > {
9+ public abstract IEnumerator < T > GetEnumerator ( ) ;
10+ IEnumerator IEnumerable . GetEnumerator ( ) {
11+ return GetEnumerator ( ) ;
12+ }
13+ }
14+ }
Original file line number Diff line number Diff line change @@ -464,14 +464,4 @@ public void Reset()
464464 }
465465 }
466466 }
467-
468- /// <summary>
469- /// Walk around for prohibited implemeting IEnumerable<dynamic>
470- /// </summary>
471- public abstract class EnumerableObject < S > : IEnumerable < S > {
472- public abstract IEnumerator < S > GetEnumerator ( ) ;
473- IEnumerator IEnumerable . GetEnumerator ( ) {
474- return GetEnumerator ( ) ;
475- }
476- }
477467}
You can’t perform that action at this time.
0 commit comments