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
w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git]
/
mcs
/
errors
/
cs0182-8.cs
blob
56d98c4dc167892c9c9e58b42e1898fcf85ca4c3
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
MyAttribute
:
Attribute
{
7
8
public
MyAttribute
(
string
s
)
9
{
10
}
11
}
12
13
[
My
(
null as string
)]
14
class
X
{
15
16
static void
Main
()
17
{
18
}
19
}