Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0182-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 32c931db75ee12c06a65b30470912ee08a67baab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs0182.cs : An attribute argument must be a constant expression, typeof expression or array creation expression
// Line : 13

using System;

class TestAttribute: Attribute
{
    public TestAttribute (int[,] i) {}
}

public class E
{
    [Test (null)]
    public void Method () {}
}