projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[msvc] Update csproj files (#4128)
[mono.git]
/
mcs
/
errors
/
cs0649-5.cs
1
// CS0649: Field `TestClass.b' is never assigned to, and will always have its default value
2
// Line: 12
3
// Compiler options: -warnaserror -warn:4
4
5
public struct Bar
6
{
7
public int x;
8
}
9
10
public class TestClass
11
{
12
Bar b;
13
14
public bool Foo ()
15
{
16
if (b.x == 0)
17
return false;
18
19
return true;
20
}
21
22
public static void Main ()
23
{
24
}
25
}