repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0165-58.cs
blob
71b1cc4f01ddc491f89ecdaf83c9f47110f32d97
1
// CS0165: Use of unassigned local variable `v'
2
// Line: 52
3
4
struct
Vector3
5
{
6
int
field1
,
field2
,
field3
;
7
}
8
9
public class
C
10
{
11
void
Update
()
12
{
13
int
v1
=
0
;
14
int
v2
=
0
;
15
int
v3
=
0
;
16
int
v4
=
0
;
17
int
v5
=
0
;
18
int
v6
=
0
;
19
int
v7
=
0
;
20
int
v8
=
0
;
21
int
v9
=
0
;
22
int
v10
=
0
;
23
int
v11
=
0
;
24
int
v12
=
0
;
25
int
v13
=
0
;
26
int
v14
=
0
;
27
int
v15
=
0
;
28
int
v16
=
0
;
29
int
v17
=
0
;
30
int
v18
=
0
;
31
int
v19
=
0
;
32
int
v20
=
0
;
33
int
v21
=
0
;
34
int
v22
=
0
;
35
int
v23
=
0
;
36
int
v24
=
0
;
37
int
v25
=
0
;
38
int
v26
=
0
;
39
int
v27
=
0
;
40
int
v29
;
41
42
Vector3 v
;
43
while
(
v8
!=
0
) {
44
v
=
new
Vector3
();
45
}
46
47
System
.
GC
.
KeepAlive
(
v
);
48
}
49
}