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
[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git]
/
mcs
/
tests
/
test-638.cs
blob
9551aa9f612fc7d2ac5a7447996cf77bd20061ec
1
using
System
;
2
using
System
.
Threading
;
3
4
class
Fail
{
5
public static void
Main
() {
6
string
a
=
""
;
7
a
+=
0
+
"A"
+
1
+
"B"
+
2
;
8
EventHandler t
=
delegate
{
9
if
(
a
!=
"0A1B2"
)
10
throw new
Exception
();
11
};
12
t
(
null
,
null
);
13
}
14
}