1. 04 1月, 2017 1 次提交
    • A
      Improve diagnostics experience for public signing. · a646d13b
      AlekseyTs 提交于
      - VB: Report a warning about AssemblyKeyFile and AssemblyKeyName attributes being ignored by public signing.
      - Disallow public signing for Net modules. The fact that the signing is public is not preserved in a module. The fact of signing is preserved by emitting attributes that are going to be ignored anyway if public signing is used.
      
      Closes #11427.
      a646d13b
  2. 31 12月, 2016 1 次提交
    • N
      Disallow expression variables in query clauses. (#16081) · 8d6e20e9
      Neal Gafter 提交于
      Fixes #15910
      Also fixes a sequence point issue with the let expression. Specifically, the source range for the query lambda included more than the expression of the let, but included the entire query clause. It now includes only the expression, like other query clauses.
      8d6e20e9
  3. 16 12月, 2016 1 次提交
  4. 12 12月, 2016 1 次提交
    • N
      Combine deconstruction assignment and declaration, and support discards. (#15548) · 3806ef8e
      Neal Gafter 提交于
      * Combine deconstruction assignment and declaration, and support discards.
      
      - Combine deconstruction assignment and declaration, and support discards.
      - Add wildcards.work.md to track outstanding work.
      - Bind each type syntax once in a deconstruction.
      - Because tuples may contain declarations, adjust lambda disambiguation
        and adjust parsing of argument lists.
      - Diagnose tuple element names on the left of a deconstruction.
      - Add relational operators to disambiguating tokens in 7.5.4.2
      
      * Disallow deconstruction declarations except at the statement level.
      This is now a semantic restriction (until we decide to remove it).
      
      * Revise logic to detect `var` in a declaration expression.
      Plus other changes per code review.
      
      * Add a test that GetTypeInfo on a discard expression doesn't crash.
      * Small changes per code review.
      * Add (skipped) test for var invocation in parens.
      * Rename "Discarded" to "Discard"
      * Changes recommended via code review.
      * Minor changes to the handling of declaration expressions per code review.
      * Addressing blocking feedback while Neal is OOF
      
      Fixes https://github.com/dotnet/roslyn/issues/14794
      Fixes https://github.com/dotnet/roslyn/issues/14832
      3806ef8e
  5. 07 12月, 2016 1 次提交
  6. 22 11月, 2016 1 次提交
  7. 17 11月, 2016 1 次提交
  8. 11 11月, 2016 1 次提交
  9. 14 10月, 2016 1 次提交
  10. 08 10月, 2016 1 次提交
  11. 29 9月, 2016 1 次提交
  12. 27 9月, 2016 1 次提交
  13. 15 9月, 2016 2 次提交
  14. 14 9月, 2016 1 次提交
  15. 09 9月, 2016 1 次提交
    • N
      In a syntactic position where an lvalue is expected, we reserve `var (...)` (#13636) · 004b2816
      Neal Gafter 提交于
      * In a syntactic position where an lvalue is expected, we reserve `var (...)`
      for possible future extension (e.g. a deconstruction), no matter what `...` is.
      This specifically applies to
        - The left-hand-side of an assignment. The only syntactically valid form is as a deconstruction declaration statement; other forms are some kind of error. `var(1) = 2;`
        - Similarly for compound assignments, including ++ and --.
        - In any expression, following `out` or `ref`. These should not bind (successfully) as an invocation.
          - In an argument position, like `M(out var (1))`
          - In a "ref expression", for example `ref int x = ref var(1);` or `return ref var(1);`.
      004b2816
  16. 03 9月, 2016 1 次提交
  17. 02 9月, 2016 3 次提交
  18. 01 9月, 2016 2 次提交
  19. 30 8月, 2016 2 次提交
  20. 27 8月, 2016 1 次提交
    • V
      Implemented case insensitivity for VB tuples. · 4626d554
      VSadov 提交于
      * tuples with names differing only by case are not allowed
      * names that match predefined element names except for case do not result in additional names
      * name-related errors are checked in case-insensitive fasion
      4626d554
  21. 25 8月, 2016 2 次提交
  22. 18 8月, 2016 1 次提交
  23. 16 8月, 2016 1 次提交
  24. 15 8月, 2016 1 次提交
  25. 11 8月, 2016 3 次提交
  26. 09 8月, 2016 1 次提交
  27. 06 8月, 2016 1 次提交
  28. 05 8月, 2016 1 次提交
  29. 04 8月, 2016 1 次提交
  30. 02 8月, 2016 1 次提交
  31. 31 7月, 2016 1 次提交
    • G
      We introduce a "ref type" for use in declarations · b93e71b8
      gafter 提交于
        (e.g. ref local variable declaration)
      We introduce a "ref expression" for use in expressions
        (e.g. right-hand-side of a ref variable initialization)
      Also improve the diagnostic for local functions.
      Fixes #12749, #12580
      b93e71b8
  32. 20 7月, 2016 1 次提交