repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-04-24 Miguel de Icaza <miguel@novell.com>
[mcs.git]
/
tests
/
test-450.cs
blob
137e4a49298d4db80fc631f1e319d49d279b03ce
1
//
2
// This is a test for as expression
3
// in custom attribute constructors
4
//
5
6
using
System
;
7
8
class
MyAttribute
:
Attribute
{
9
10
public
MyAttribute
(
string
s
)
11
{
12
}
13
}
14
15
[
My
(
null as string
)]
16
class
X
{
17
18
static void
Main
()
19
{
20
}
21
}