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

cs0664-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3eb26cf8c869d9260301c4b84e03894879232060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs0664-3.cs: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type
// Line: 13

using System;

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

class C
{
	[Bound (D = 300d)]
	double d2;
}