blob: 8fa41c1a08fe46cf2c1d252a48d89e54e9ef825c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration
// Line: 21
using System.Collections.Generic;
namespace McsDiff
{
class MyObj
{
}
class MainClass
{
protected static IEnumerable<MyObj> GetStuff ()
{
yield return null;
try {
}
catch {
return true;
}
}
}
}
|