Bug 540298 - Some keywords should not be highlighted as keywords depending on the context
Summary: Some keywords should not be highlighted as keywords depending on the context
Status: RESOLVED DUPLICATE of bug 432735
Alias: None
Product: MonoDevelop
Classification: Mono
Component: C# Binding (show other bugs)
Version: SVN
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Mike Krueger
QA Contact: MD Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 16:03 UTC by Andres Aragoneses
Modified: 2009-09-18 19:26 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Aragoneses 2009-09-18 16:03:48 UTC
Steps to reproduce:

1. Write this code:
        static void Main(string[] args)
        {
            //Create the data source
            List<int> Scores = new List<int>() { 97, 92, 81, 60 };

            // Create the query.
            IEnumerable<int> queryHighScores =
                from score in Scores
                where score > 80
                select score;

            var select = 0;
            // Execute the query.
            foreach (int i in queryHighScores)
            {
                Console.Write(i + " ");
                select = i;
            }
       }

Current results:
The keyword "select" is always highlighted.

Expected results:
The keyword "select" should only be highlighted once.
Comment 1 Mike Krueger 2009-09-18 19:26:28 UTC
Already open.

*** This bug has been marked as a duplicate of bug 432735 ***