Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4d17a9 commit b7595edCopy full SHA for b7595ed
1 file changed
csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowDispatch.qll
@@ -172,21 +172,6 @@ private module Cached {
172
result = viableImplInCallContext(call, ctx) and
173
reducedViableImplInReturn(result, call)
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
184
- t instanceof SystemCollectionsGenericIEnumerableTInterface
185
186
- t instanceof SystemCollectionsGenericIEnumeratorInterface
187
- )
188
- }
189
190
191
192
import Cached
0 commit comments