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
[Facades] Move IncrementalHash to System.Security.Cryptography.Algorithms facade
[mono-project.git]
/
mcs
/
tests
/
test-847.cs
blob
2f22c4224997b0ca6adbe1d1275f25f9bcc14363
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
interface
IA
5
{
6
int this
[
int
arg
]
{ get; set; }
7
}
8
9
interface
I
:
IA
10
{
11
}
12
13
class
C
14
{
15
public static int
Main
()
16
{
17
var
attrs
=
typeof
(
I
).
GetCustomAttributes
(
false
);
18
19
// No DefaultMemberAttribute needed
20
if
(
attrs
.
Length
!=
0
)
21
return
1
;
22
23
return
0
;
24
}
25
}