Revert "doh, miscopied file names."
[mono-project.git] / mcs / errors / cs0170.cs
blobf388a037eced6f200483931ed0e75479b5a7ea2b
1 // CS0170: Use of possibly unassigned field `a'
2 // Line: 23
4 using System;
6 namespace CS0170
8 public struct Foo {
9 public int a;
12 public class Bar
14 public void Inc (int x)
16 ++x;
19 static void Main ()
21 Foo f;
22 Bar b = new Bar();
23 b.Inc (f.a);
24 Console.WriteLine (f.a);