Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs1066.cs
1 // CS1066: The default value specified for optional parameter `i' will never be used
2 // Line: 6
3 // Compiler options: -warnaserror
4
5 public class C
6 {
7         public int this [int i = 1] { 
8                 set {}
9         }
10 }