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] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
gtest-393.cs
blob
17a5d8159a276474f2a9dd5a444cfeb0f7dd1b45
1
class
B
<
T
>
2
{
3
}
4
5
[
A
(
typeof
(
B
<>))]
6
public class
A
:
System
.
Attribute
7
{
8
static int
ret
=
1
;
9
10
public
A
(
System
.
Type type
)
11
{
12
if
(
type
==
typeof
(
B
<>))
13
ret
=
0
;
14
}
15
16
public static int
Main
()
17
{
18
typeof
(
A
).
GetCustomAttributes
(
true
);
19
return
ret
;
20
}
21
}