Remove signing from Jenkins MSI pipeline
[mono-project.git] / mcs / errors / cs1913-2.cs
blobcd5d064a233b252dbaea8c7560ab6bbaf92b15af
1 // CS1913: Member `Data.Count()' cannot be initialized. An object initializer may only be used for fields, or properties
2 // Line: 17
5 using System;
6 using System.Collections.Generic;
8 class Data
10 public int Count ()
12 return 1;
16 public class Test
18 static void Main ()
20 var c = new Data { Count = 10 };