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

cs0657-9.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e80b66a430dcf08b8bccdb5217012027afcd31ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0657-9.cs: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `param'
// Line : 13

using System;

[AttributeUsage(AttributeTargets.All)]
public class TestAttribute: Attribute
{
}

struct S
{
    void method (
        [type: Test]
        int p) {}
}