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

cs0221-5.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d30b25fa82e3c17c437214b52ed9bb485f2e6911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// cs0221.cs: Constant value `-1' cannot be converted to a `byte' (use `unchecked' syntax to override)
// Line: 11

using System;

public class My3Attribute : Attribute
{
	public My3Attribute (byte b) {}
}

[My3((byte)-1)]
public class Test { }