blob: 56d98c4dc167892c9c9e58b42e1898fcf85ca4c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 13
using System;
class MyAttribute : Attribute {
public MyAttribute (string s)
{
}
}
[My (null as string)]
class X {
static void Main ()
{
}
}
|