Remove code moved to shared partition
[mono-project.git] / mcs / errors / cs0131-5.cs
blobf6300702694a53da34912f84b7ee02c15a1dde0c
1 // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
2 // Line: 15
3 // Compiler options: -unsafe
5 unsafe struct MyStruct
7 public fixed char Name[32];
10 unsafe class MainClass
12 public static void Main ()
14 var str = new MyStruct();
15 str.Name = null;