Skip to content

Commit b7595ed

Browse files
committed
C#: Remove duplicated class
1 parent e4d17a9 commit b7595ed

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowDispatch.qll

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -172,21 +172,6 @@ private module Cached {
172172
result = viableImplInCallContext(call, ctx) and
173173
reducedViableImplInReturn(result, call)
174174
}
175-
176-
/** A valid return type for a method that uses `yield return`. */
177-
private class YieldReturnType extends Type {
178-
YieldReturnType() {
179-
exists(Type t | t = this.getSourceDeclaration() |
180-
t instanceof SystemCollectionsIEnumerableInterface
181-
or
182-
t instanceof SystemCollectionsIEnumeratorInterface
183-
or
184-
t instanceof SystemCollectionsGenericIEnumerableTInterface
185-
or
186-
t instanceof SystemCollectionsGenericIEnumeratorInterface
187-
)
188-
}
189-
}
190175
}
191176

192177
import Cached

0 commit comments

Comments
 (0)