1. 11 12月, 2018 1 次提交
  2. 19 10月, 2018 1 次提交
  3. 25 9月, 2018 1 次提交
  4. 07 9月, 2018 1 次提交
  5. 25 7月, 2018 1 次提交
  6. 12 6月, 2018 1 次提交
  7. 01 6月, 2018 1 次提交
  8. 16 5月, 2018 1 次提交
  9. 11 5月, 2018 1 次提交
  10. 28 2月, 2018 1 次提交
  11. 24 2月, 2018 1 次提交
    • O
      Support unmanaged constraint (#24817) · eabb4a09
      Omar Tawfik 提交于
      * Source changes for unmanaged (PROTOTYPE for metadata)
      
      * Modreqs for unmanaged as well
      
      * Finished roundtripping metadata
      
      * Added more tests
      
      * Fix CI
      
      * More tests
      
      * Clean up
      eabb4a09
  12. 17 11月, 2017 1 次提交
  13. 17 10月, 2017 1 次提交
  14. 11 10月, 2017 1 次提交
  15. 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
  16. 08 6月, 2017 1 次提交
  17. 27 5月, 2017 1 次提交
  18. 26 5月, 2017 1 次提交
  19. 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
  20. 11 4月, 2017 1 次提交
    • O
      Writing ReadOnlyAttribute if it exists as well-known type (#18358) · 03f58fd2
      Omar Tawfik 提交于
      * Writing attribute to metadata
      
      * Reading attribute in PE symbols
      
      * Added more tests for lambdas, delegates, and other types
      
      * Use ReadOnlyAttribute instead
      
      * Fix build break
      
      * Fix Failed Tests
      
      * Enable back disabled tests
      
      * Fix more tests
      
      * Ban usage of ReadOnlyAttribute in source
      
      * Rename System.Runtime.InteropServices.ReadOnlyAttribute to System.Runtime.CompilerServices.ReadOnlyAttribute
      
      * Clean up
      
      * Address CR comments
      
      * More PR feedback
      03f58fd2
  21. 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
  22. 31 1月, 2017 1 次提交
  23. 13 1月, 2017 1 次提交
  24. 23 11月, 2016 1 次提交
  25. 29 9月, 2016 1 次提交
  26. 15 7月, 2016 1 次提交
  27. 11 7月, 2016 1 次提交
  28. 27 5月, 2016 1 次提交
    • J
      Bug 217740: don't crash when emitting or loading a DateTimeConstant(-1) attribute (#11536) · dd21101d
      Julien 提交于
      * Bug 217740: Repro and test harness for C#
      
      * Testing and fixing loading scenario in C# and VB
      
      * Verifying VB case using attribute on field
      
      * Adding more tests
      
      * Adding VB tests
      
      * Adding tests
      
      * More tests on fields with double-attributes
      
      * New test constraint
      
      * Fixing VB side to new test constraints
      
      * Fixing C# side to new test constraints
      
      * Fixing remaining tests
      
      * Adding comments
      
      * Fixing VB field scenario too
      dd21101d
  29. 09 2月, 2016 1 次提交
  30. 31 10月, 2015 1 次提交
  31. 16 10月, 2015 1 次提交
  32. 22 8月, 2015 1 次提交
  33. 20 6月, 2015 2 次提交
  34. 19 5月, 2015 1 次提交
  35. 05 3月, 2015 1 次提交
  36. 25 2月, 2015 1 次提交
  37. 01 2月, 2015 1 次提交
    • B
      Complete the style update to the rest of Open\src directory · 995eb372
      beep boop 提交于
           Background:
      
           As discussed in the dev team all hands all code under the GitHub dotnet foundation is using a single process for contribution, API review, infrastructure and coding style. The idea is to present a unified view to our customer and give them a single story for contributing to any project under the dotnet foundation.
      
           https://github.com/dotnet/corefx/wiki/Contributing#c-coding-style
      
           The coding style transition is automated using a Roslyn based rewrite tool:
      
           https://github.com/dotnet/codeformatter
      
           This will be applied in stages across our developer tree. Right now the focus is on the Open directory as this is what is being presented on github. Code owners will be contacted before the transition happens.
      
           Note: this is a soft style requirement. There are no build errors that come from this change.
       (changeset 1408227)
      995eb372
  38. 15 1月, 2015 1 次提交
  39. 14 1月, 2015 1 次提交