summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1624-3.cs
blob: 4f90c94fb46e176b6726bc55a9afe0bdd6fcd4ff (plain)
1
2
3
4
5
6
7
8
9
10
// CS1624: The body of `Program.Program()' cannot be an iterator block because `void' is not an iterator interface type
// Line: 6

class Program {
        public Program() {
                yield break;
        }
        static public void Main() {
        }
}