Support translation in a C# checked context

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      For example:

      checked
      {
          var value = collection.AsQueryable().Where(o => o.Foo + o.Id == 17).ToList();
          Console.WriteLine(value.Count);
      }
      

      Specifically, in a checked context, Convert expressions become ConvertChecked expressions.

      Note that other providers don't make any attempt to follow the semantics of checked, or indeed to follow the semantics of not-checked.

            Assignee:
            Unassigned
            Reporter:
            Arthur Vickers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: