[Mono-bugs] [Bug 73161][Nor] New - mcs doesn't support encoding of new DllImportAttribute fields in net 2.0

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Mar 2005 14:14:20 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=73161

--- shadow/73161	2005-03-01 14:14:20.000000000 -0500
+++ shadow/73161.tmp.15860	2005-03-01 14:14:20.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 73161
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vargaz@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs doesn't support encoding of new DllImportAttribute fields in net 2.0
+
+Test case:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+using System.Runtime.InteropServices;
+
+public class Tests {
+[DllImport ("libfoo", EntryPoint="foo", CharSet=CharSet.Unicode,
+ExactSpelling=false, PreserveSig=true, SetLastError=true,
+BestFitMapping=true, ThrowOnUnmappableChar=true)]
+	public static extern void dllImportMethod ();
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+When compiling this code, mcs from HEAD throws a NotImplementException.