Changed UploadStringAsync to handle UploadString encapsulated exceptions.
[mono.git] / mcs / errors / cs0647-11.cs
1 // CS0647: Error during emitting `System.Runtime.InteropServices.MarshalAsAttribute' attribute. The reason is `Specified unmanaged type is only valid on fields'
2 // Line: 10
3
4 using System;
5 using System.Runtime.InteropServices;
6
7 public class main {
8
9     [DllImport("libname", EntryPoint = "scumbag")]
10     static extern int scumbag(ref int X, [MarshalAs(UnmanagedType.ByValArray)] ref byte[] fb);
11 }