https://bugzilla.novell.com/show_bug.cgi?id=342250
Summary: Parser Error when ?: is used inside of using statement
Product: Mono: Compilers
Version: SVN
Platform: i686
OS/Version: Ubuntu
Status: NEW
Severity: Major
Priority: P5 - None
Component: C#
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Found By: ---
As of the time of this filing, mcs in Subversion trunk will not compile
statements where the comparison operator ?: is used inside of a using
declaration.
using (dbLockCheck ? fileDatabase.LockRead () : null)
{
//code
}
This was discovered in Mono.Addins AddinDatabase.cs line 276.
Subversion Link:
http://anonsvn.mono-project.com/viewcvs/trunk/monodevelop/contrib/Mono.Addins/src/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs?view=markup
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs