projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2003-10-31 Pedro Martnez Juli <yoros@wanadoo.es>
[mono.git]
/
mcs
/
errors
/
cs0170.cs
1
// CS0170: Use of possibly unassigned field `a'
2
// Line: 23
3
4
using System;
5
6
namespace cs0170
7
{
8
public struct Foo {
9
public int a;
10
}
11
12
public class Bar
13
{
14
public void Inc (int x)
15
{
16
++x;
17
}
18
19
static void Main ()
20
{
21
Foo f;
22
Bar b = new Bar();
23
b.Inc (f.a);
24
Console.WriteLine (f.a);
25
}
26
}
27
}