[Mono-bugs] [Bug 81565][Wis] New - Selects wrong overload for method containing System.Enum argument
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue May 8 13:53:47 EDT 2007
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 wasabi at larvalstage.net.
http://bugzilla.ximian.com/show_bug.cgi?id=81565
--- shadow/81565 2007-05-08 13:53:47.000000000 -0400
+++ shadow/81565.tmp.5415 2007-05-08 13:53:47.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 81565
+Product: Mono: Compilers
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: wasabi at larvalstage.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Selects wrong overload for method containing System.Enum argument
+
+These following snippits are from NHibernate.
+
+
+ IQuery SetEnum( int position, Enum val );
+
+ IQuery SetEnum( string name, Enum val );
+
+
+
+
+ query.SetEnum("accountType", achAccount.Type);
+
+Cannot convert from `string' to `int'(CS1503: Argument 1)
+The best overloaded method match for `NHibernate.IQuery.SetEnum(int,
+System.Enum)' has some invalid arguments(CS1502)
More information about the mono-bugs
mailing list