Merge pull request #3686 from lambdageek/dev-format-printf
[mono.git] / mcs / errors / cs1624-3.cs
1 // CS1624: The body of `Program.Program()' cannot be an iterator block because `void' is not an iterator interface type
2 // Line: 6
3
4 class Program {
5         public Program() {
6                 yield break;
7         }
8         static public void Main() {
9         }
10 }