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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81565 --- shadow/81565 2007-05-08 13:53:47.000000000 -0400 +++ shadow/81565.tmp.5455 2007-05-08 13:54:49.000000000 -0400 @@ -1,14 +1,14 @@ Bug#: 81565 Product: Mono: Compilers Version: 1.2 -OS: +OS: unknown OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Wishlist Component: C# AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -28,6 +28,15 @@ 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) + +------- Additional Comments From [EMAIL PROTECTED] 2007-05-08 13:54 ------- + + + .SetEnum("accountType", (Enum)achAccount.Type); + + +This code compiles correctly. So, it just can't determine the right +overload based on Enum. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
