|
|
|
[
Permlink
| « Hide
]
Rodrigo B. de Oliveira - 12/Mar/07 04:03 PM
The workaround is to explicilty declare the return type of the virtual method as System.Collections.IEnumerable.
Fixed in 2470: generators with unknown return types are now assumed to return IEnumerable or IEnumerable of YieldType, instead of the specific compiler-generated type. This allows overriding methods to specify the same return type or no return type (it will be correctly inferred).
|
||||||||||||||||||||||||||||||||||||||||||||||