projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mono-api-html] Add solution.
[mono.git]
/
mcs
/
tests
/
test-847.cs
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
}