|
Bugzilla – Full Text Bug Listing |
| Summary: | Parser Error when ?: is used inside of using statement | ||
|---|---|---|---|
| Product: | [Mono] Mono: Compilers | Reporter: | Kevin Kubasik <kevin> |
| Component: | C# | Assignee: | Mono Bugs <mono-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | SVN | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | Ubuntu | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
*** This bug has been marked as a duplicate of bug 335946 *** |
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