1. 12 6月, 2020 1 次提交
  2. 04 6月, 2020 1 次提交
  3. 28 2月, 2020 1 次提交
  4. 01 2月, 2020 1 次提交
  5. 23 1月, 2020 1 次提交
  6. 15 6月, 2019 1 次提交
  7. 04 5月, 2019 1 次提交
  8. 19 3月, 2019 1 次提交
  9. 15 3月, 2019 1 次提交
  10. 13 3月, 2019 1 次提交
  11. 09 3月, 2019 1 次提交
    • N
      Simplify some names in the nullable reference types feature · 85b05131
      Neal Gafter 提交于
      - Rename `TypeSymbolWithAnnotations` to `TypeWithAnnotations`
      - Rename its type field from `TypeSymbol` to `Type`
      - Fields of Symbols that are of type `TypeWithAnnotations` that are currently named `Type` would be renamed `TypeWithAnnotations`
      Fixes #33736
      85b05131
  12. 27 2月, 2019 1 次提交
  13. 12 2月, 2019 2 次提交
  14. 11 12月, 2018 1 次提交
  15. 14 9月, 2018 2 次提交
  16. 17 8月, 2018 1 次提交
  17. 14 8月, 2018 1 次提交
  18. 10 8月, 2018 1 次提交
  19. 08 8月, 2018 1 次提交
  20. 28 7月, 2018 1 次提交
  21. 22 7月, 2018 1 次提交
  22. 29 6月, 2018 1 次提交
  23. 28 6月, 2018 1 次提交
  24. 21 3月, 2018 1 次提交
  25. 02 3月, 2018 1 次提交
  26. 23 2月, 2018 1 次提交
  27. 03 11月, 2017 1 次提交
  28. 28 9月, 2017 1 次提交
  29. 12 9月, 2017 1 次提交
  30. 30 6月, 2017 1 次提交
    • A
      Refactor to remove LocalFunctionTypeParameterSymbol (#20340) · 888d7c5b
      Andy Gocke 提交于
      LocalFunctionTypeParameterSymbol isn't necessary as long as the functionality around type constraints can be moved into a shared base class between ordinary method symbols and local function symbols.
      In fact, it would be very useful to have a shared base symbol aside from MethodSymbol between local functions, lambdas, and other source method symbols. To this end, I've renamed SourceMemberMethodSymbol to SourceOrdinaryMethodSymbol (since it is just used for ordinary member-level methods), SourceMethodSymbol to SourceMemberMethodSymbol (since it is only used as a base class for member-level method-like functions like ordinary methods, constructors, property accessors, et al.), and added a new abstract class SourceMethodSymbol that is the root of both LocalFunctionSymbol and SourceMemberMethodSymbol. This lets us unify all source method-like symbols under a single base class, SourceMethodSymbol.
      The first three commits perform the refactoring, while the last commit actually removes LocalFunctionTypeParameterSymbol and moves the necessary functionality into SourceMethodSymbol. I expect more functionality to be moved over in subsequent PRs.
      
      Fixes #17244
      888d7c5b
  31. 24 6月, 2017 1 次提交
  32. 26 5月, 2017 1 次提交
  33. 20 5月, 2017 1 次提交
  34. 19 5月, 2017 1 次提交
    • O
      Generate readonlyattribute if it does not exist (#18715) · d63f0384
      Omar Tawfik 提交于
      * Call this.DeclaringCompilation.EnsureReadOnlyAttributeExists() when needed
      
      * Promote EmbeddedAttribute to be used by both compilers
      
      * Generate Embedded attributes on PE Module Builder
      
      * Thread PEModuleBuilder through Symbol.AddSynthesizedAttributes()
      
      * Fix failing tests
      
      * Base case passing
      
      * Refactor ReadOnlyAttribute to IsReadOnlyAttribute
      
      * Fix build break
      
      * More Tests
      
      * Clean up
      
      * PR Comments #1
      
      PR Comments #3
      
      PR Comments #4
      
      PR Comments #5
      
      PR Comments #6
      
      PR Comments # 7
      
      * Handle NoPIA
      
      Added more tests
      
      * Lambdas and Local functions no longer generate attributes in symbols
      
      Added tests for constructors and operators
      
      Signal need for synthesized attributes in local rewriter for lambdas an local functions
      
      Clean up
      
      * Clean up
      
      * More PR Feedback
      
      * Adding more tests
      
      * More PR Comments
      
      * More tests for explicit interface implementations
      
      * Latest PR Comments
      
      * Moved EnsureIsReadOnlyAttributeExists to AfterAddingTypeMembersChecks
      
      * Fix failing tests
      d63f0384
  35. 07 3月, 2017 1 次提交
    • A
      Make local function default parameter value binding lazy (#17014) · 2b6d6f29
      Andy Gocke 提交于
      Make local function default parameter value binding lazy
      
      Current strict binding can cause circularity problems when local
      functions are referenced. This change causes local functions to use lazy
      default parameter binding, similar to methods, and then forces their
      construction when diagnostics are requested for the local function.
      
      This also requires a mechanism for recording declaration diagnostics
      outside of adding to the compilation's DeclarationDiagnostics. A new
      type, DeclarationDiagnosticStore is introduced as an abstraction to
      store declaration diagnostics on either the compilation or in a local
      DiagnosticBag, depending on the needs of the symbol storing diagnostics.
      
      Fixes #16451, #17293
      2b6d6f29
  36. 11 1月, 2017 1 次提交
  37. 30 12月, 2016 1 次提交
  38. 02 9月, 2016 1 次提交