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-11-10 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0182-8.cs
blob
cbaafd09d5828d37ab343ad404f847c66b781b4e
1
// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
2
// Line: 13
3
4
using
System
;
5
6
class
AAttribute
:
Attribute
7
{
8
public
AAttribute
(
dynamic
X
)
9
{
10
}
11
}
12
13
[
A
(
Test
.
B
)]
14
class
Test
15
{
16
public static dynamic
B
;
17
18
static void
Main
()
19
{
20
}
21
}