File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
csharp/ql/src/semmle/code/csharp/dataflow/internal Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -172,21 +172,6 @@ private module Cached {
172
172
result = viableImplInCallContext ( call , ctx ) and
173
173
reducedViableImplInReturn ( result , call )
174
174
}
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
- }
190
175
}
191
176
192
177
import Cached
You can’t perform that action at this time.
0 commit comments