projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2646 from ludovic-henry/fix-processwatch-dispose
[mono.git]
/
mcs
/
errors
/
cs0182-8.cs
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
}