summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-2.cs
blob: 0ea74268058783ceae143b3bca1baf40e292d163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0029: Cannot implicitly convert type `string' to `double'
// Line: 11

using System;

public sealed class BoundAttribute : System.Attribute
{
	public double D;
}

class C
{
	[Bound (D = "Dude!")]
	double d2;
}