blob: c53b064a74f5068a4f318230e5934a99061e4e03 (
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;
}
}
}
}
|