1. 01 10月, 2017 1 次提交
  2. 30 9月, 2017 1 次提交
  3. 29 9月, 2017 1 次提交
  4. 28 9月, 2017 1 次提交
  5. 26 8月, 2017 1 次提交
  6. 25 8月, 2017 1 次提交
  7. 18 7月, 2017 1 次提交
    • C
      Don't report modifier errors while parsing. (#16339) · 001294be
      CyrusNajmabadi 提交于
      * Don't report modifier errors while parsing.
      
      * Fix bad merge.
      
      * restore code.
      
      * Fix test.
      
      * Remove old resource
      
      * Alternative way to do partial checking.
      
      * Alternative way to do partial checking.
      
      * Simplify formatting.
      
      * Restore formatting.
      
      * Restore formatting.
      
      * Restore formatting.
      
      * Restore formatting.
      
      * Restore formatting.
      
      * Give a proper message.
      
      * Update error positions.
      
      * Update error positions.
      
      * Update error positions.
      
      * Actually report error on bad modifier.
      001294be
  8. 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
  9. 24 6月, 2017 1 次提交
  10. 21 6月, 2017 1 次提交
  11. 20 6月, 2017 1 次提交
  12. 17 6月, 2017 1 次提交
  13. 01 6月, 2017 1 次提交
  14. 26 5月, 2017 1 次提交
  15. 20 5月, 2017 1 次提交
  16. 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
  17. 07 4月, 2017 1 次提交
    • V
      Implements the initial set of span-safety checks. · c67384de
      vsadov 提交于
      These are mostly the checks dealing with stack-only nature of the Span. With minor difference they follow the same logic as the existing checks for types such as TypedReference.
      
      ==== Not in this change:
      Defining and detecting span-like types is NYI. For now we just treat any type named "System.Span" and "System.ReadonlySpan" as span-like. This will change.
      
      Some of the checks result in somewhat generaic messages and happen at emit phase. That was ok when the failures were supposed to be rare.
      Error clarity is not the goal of this change, but we will examone what errors should say and whether they should be moved to an earlier phase.
      c67384de
  18. 05 4月, 2017 1 次提交
  19. 23 3月, 2017 1 次提交
  20. 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
  21. 11 1月, 2017 1 次提交
  22. 30 12月, 2016 2 次提交
  23. 29 12月, 2016 2 次提交
  24. 24 12月, 2016 1 次提交
  25. 23 11月, 2016 1 次提交
  26. 11 11月, 2016 1 次提交
  27. 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
  28. 20 7月, 2016 1 次提交
  29. 30 6月, 2016 1 次提交
  30. 15 5月, 2016 1 次提交
  31. 04 5月, 2016 1 次提交
  32. 22 4月, 2016 1 次提交
  33. 29 3月, 2016 1 次提交
  34. 24 2月, 2016 1 次提交
  35. 18 2月, 2016 2 次提交
  36. 18 12月, 2015 1 次提交
  37. 15 12月, 2015 1 次提交