[sre] Wrap mono_image_create_token with HANDLE_FUNCTION_{ENTER,RETURN}
[mono-project.git] / mcs / errors / cs1914.cs
blobdbbc46af9c4084f8519e1a651e122f276c6f700e
1 // CS1914: Static field or property `Data.Count' cannot be assigned in an object initializer
2 // Line: 17
5 using System;
6 using System.Collections.Generic;
8 class Data
10 public static int Count;
13 public class Test
15 static void Main ()
17 var c = new Data { Count = 10 };