Home
Options

C# keywords Capitalised

In LinqPad 5 beta 5.00.06(AnyCPU) (and a couple of previous betas at least), I'm finding my C# queries are having their keywords Capitalised if the previous query loaded was a VB query,

Comments

  • Options
    Can you provide a step-by-step repro?
  • Options
    In case it matters. my default language is VB Statements.
    Click on a VB Statements (or Program) query in My Queries. It loads automatically (the default setting, I believe.)
    Click on a C# Statements (or Program) query that includes the new or try (or class) keywords. The new and try (and class) keywords are Capitalised.
    Click on another C# Statements (or Program) query and the problem goes away.
  • Options
    I've also just confirmed it happens for the Samples too, so I can provide an exact repro:
    Default language VB Statements
    Click on Samples > Linq in Action Chapter01.VB > 1.07 Hello LINQ
    (opens fine)
    Click on Samples > Linq in Action Chapter01.C# > 1.06 Hello LINQ
    From, Where and Select are capitalised and so show syntax errors.
    Click on Samples > Linq in Action Chapter01.C# > 1.08 Old-School Hello
    (opens fine)
    Click on Samples > Linq in Action Chapter01.C# > 1.06 Hello LINQ again
    (opens fine)
  • Options
    Thanks for reporting - this is now fixed in 5.0.7
Sign In or Register to comment.