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
[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git]
/
mcs
/
tests
/
test-discards-01.cs
blob
54cf29779c6c03c9382279009d1f48566a159fb7
1
using
System
;
2
3
class
X
4
{
5
public static void
Main
()
6
{
7
string
s
=
null
;
8
9
_
=
1
;
10
{
11
char
_
=
'4'
;
12
}
13
14
_
=
TestValue
();
15
16
_
=
_
=
s
;
17
18
byte
k1
;
19
var
s1
= (
k1
,
_
) = (
1
,
s
);
20
21
Func
<
object
>
l1
= () =>
_
= (
_
,
_
) = (
1
,
s
);
22
23
TryGetValue
(
out
_
);
24
}
25
26
static bool
TryGetValue
(
out int
arg
)
27
{
28
arg
=
3
;
29
return true
;
30
}
31
32
static int
TestValue
()
33
{
34
return
4
;
35
}
36
}