[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0664-3.cs
blobe78dcd9150b9e5375d90a835bc64a0d6e9381b65
1 // CS0664: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type
2 // Line: 13
4 using System;
6 public sealed class BoundAttribute : System.Attribute
8 public float D;
11 class C
13 [Bound (D = 300d)]
14 double d2;