Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0023-4.cs
1 // CS0023: The `.' operator cannot be applied to operand of type `anonymous method'
2 // Line: 8
3
4 using System;
5 class Test {
6         public static void Main(string[] argv) {
7                 Console.WriteLine("Type of anonymous block: {0}",
8                         (delegate() {}).GetType());
9         }
10 }