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 {
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
192177import Cached
You can’t perform that action at this time.
0 commit comments