[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0019-7.cs
blob76be4121a3a17b830b69a1c644d49dc26626068c
1 // CS0019: Operator `+' cannot be applied to operands of type `string' and `float*'
2 // Line: 12
3 // Compiler options: -unsafe
4 using System;
6 public class Driver {
7 public static void Main () {
8 float [] floats = new float[1];
9 floats[0] = 1.0f;
10 unsafe {
11 fixed (float *fp = &floats[0]) {
12 Console.WriteLine ("foo" + fp);