1. 24 9月, 2020 2 次提交
  2. 13 5月, 2020 1 次提交
  3. 11 3月, 2020 1 次提交
  4. 04 3月, 2020 1 次提交
  5. 21 2月, 2020 1 次提交
  6. 08 2月, 2020 1 次提交
  7. 23 1月, 2020 1 次提交
  8. 19 1月, 2020 1 次提交
  9. 19 7月, 2019 1 次提交
  10. 15 7月, 2019 1 次提交
  11. 25 2月, 2019 6 次提交
  12. 21 4月, 2018 1 次提交
    • C
      Move features over to new "simplifier + var" system. (#26237) · 04d57fd6
      CyrusNajmabadi 提交于
      * Initial UseConditional work.
      
      * Initial UseConditional work.
      
      * Working replacement.
      
      * Extract common code.
      
      * Make 'var' work properly in the simplifier service.
      
      * Move types to their own files.
      
      * Provide a way to create types that are not simplified to 'var'.
      
      * Update test options.
      
      * Update test.
      
      * Move CSharp code style code down to the Workspace layer.
      
      * Rename config value.
      
      * Add ui options.
      
      * Add VB ui options.
      
      * Add VB support
      
      * Strip trivia
      
      * Initial stubs for 'use conditional for returns'
      
      * Add VB impl.
      
      * Only support processing of real trees.
      
      * Actually assign variable.
      
      * Don't assume a single variable.
      
      * Share more code.
      
      * Fix shared code.
      
      * Add check.
      
      * Simplify code.
      
      * Only the analyzer needs to check the severity.
      
      * Generalize loc strings.
      
      * remove static.
      
      * Remove unneeded methods.
      
      * Do cheap checks first.
      
      * Handle more cases.
      
      * Handle more cases.
      
      * Add test.
      
      * Add tests.
      
      * Add test.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Fix tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Format multiline conditions.
      
      * Add multiline formatting for VB.
      
      * Move code.
      
      * Simpler formilization of casts.
      
      * Extract out code.
      
      * Remove file.
      
      * Move files.
      
      * Share more code.
      
      * Share more code.
      
      * Break out types.
      
      * Share more code.
      
      * Add more tests.
      
      * Add VB tests.
      
      * Simplify.
      
      * Add comment.
      
      * Remove newlines.
      
      * Move method.
      
      * Move method.
      
      * Add comments.
      
      * Simplify
      
      * Update comment.
      
      * Update comment.
      
      * Remove line.
      
      * Update comment.
      
      * Update comment.
      
      * Update comment.
      
      * Fix comment.
      
      * Wrap long lines.
      
      * Wrap long lines.
      
      * Wrap long lines.
      
      * Handle trivia.
      
      * Simplify.
      
      * Fix check.
      
      * better support for else-if chains.
      
      * Add comments.
      
      * Remove 'Use Conditional Expressoin'
      
      * Remove more vestiges of
       feature.
      
      * Remove code.
      
      * Add back newline.
      
      * Remove helper.  The simplifier will do the right thing now.
      
      * try to use var first, before removing casts.
      
      * Update tests.
      04d57fd6
  13. 20 4月, 2018 1 次提交
    • C
      Update the simplifier to respect and apply the 'use var' user preference. (#25865) · 06393e4e
      CyrusNajmabadi 提交于
      * Initial UseConditional work.
      
      * Initial UseConditional work.
      
      * Working replacement.
      
      * Extract common code.
      
      * Make 'var' work properly in the simplifier service.
      
      * Move types to their own files.
      
      * Provide a way to create types that are not simplified to 'var'.
      
      * Update test options.
      
      * Update test.
      
      * Move CSharp code style code down to the Workspace layer.
      
      * Rename config value.
      
      * Add ui options.
      
      * Add VB ui options.
      
      * Add VB support
      
      * Strip trivia
      
      * Initial stubs for 'use conditional for returns'
      
      * Add VB impl.
      
      * Only support processing of real trees.
      
      * Actually assign variable.
      
      * Don't assume a single variable.
      
      * Share more code.
      
      * Fix shared code.
      
      * Add check.
      
      * Simplify code.
      
      * Only the analyzer needs to check the severity.
      
      * Generalize loc strings.
      
      * remove static.
      
      * Remove unneeded methods.
      
      * Do cheap checks first.
      
      * Handle more cases.
      
      * Handle more cases.
      
      * Add test.
      
      * Add tests.
      
      * Add test.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Fix tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Add tests.
      
      * Format multiline conditions.
      
      * Add multiline formatting for VB.
      
      * Move code.
      
      * Simpler formilization of casts.
      
      * Extract out code.
      
      * Remove file.
      
      * Move files.
      
      * Share more code.
      
      * Share more code.
      
      * Break out types.
      
      * Share more code.
      
      * Add more tests.
      
      * Add VB tests.
      
      * Simplify.
      
      * Add comment.
      
      * Remove newlines.
      
      * Move method.
      
      * Move method.
      
      * Add comments.
      
      * Simplify
      
      * Update comment.
      
      * Update comment.
      
      * Remove line.
      
      * Update comment.
      
      * Update comment.
      
      * Update comment.
      
      * Fix comment.
      
      * Wrap long lines.
      
      * Wrap long lines.
      
      * Wrap long lines.
      
      * Handle trivia.
      
      * Simplify.
      
      * Fix check.
      
      * better support for else-if chains.
      
      * Add comments.
      
      * Remove 'Use Conditional Expressoin'
      
      * Remove more vestiges of
       feature.
      
      * Remove code.
      
      * Add back newline.
      06393e4e
  14. 31 3月, 2018 1 次提交
    • H
      Foreach to For refactoring (#25460) · bd728466
      Heejae Chang 提交于
      * foreach to for for C#
      
      * use different method
      
      * no ctor needed
      
      * initial vb support
      
      * added more tests in vb, more code share. more trivia tweak on vb
      
      * more referrence cases
      
      * handle embeded statement case
      
      * some clean up
      
      * addressing some feedbacks. some clean up and etc
      
      * added more unit tests, more refactorings
      
      * assigning better collection name
      
      * more refactoring
      
      * added comment
      
      * more feedback updates
      
      * removed old resource
      
      * use semanticFacts.GenerateUniequeName
      
      * changed to use TypeStypleHelper
      
      * added style test
      
      * fixed test failure
      
      * fix up resx file.
      
      * improve local variable name handling
      
      * updated title.
      
      removed from part.
      
      * share duped code
      
      * missed some places to convert to new dedup method
      
      * more feedbacks
      
      * fix up test failures due ot GenerateUniqueLocalName changes.
      
      * Rename files.
      bd728466
  15. 22 3月, 2018 2 次提交
  16. 11 1月, 2018 2 次提交
  17. 23 8月, 2017 1 次提交
  18. 29 6月, 2017 1 次提交
  19. 30 3月, 2017 1 次提交
  20. 08 10月, 2016 1 次提交
  21. 26 5月, 2016 2 次提交
  22. 06 4月, 2016 1 次提交
  23. 01 3月, 2016 1 次提交
    • B
      Extract out some use var related code... · a7696cf3
      Balaji Krishnan 提交于
      ... into a static helper class and share it at CSharpFeatures level.
      This is the first step
      towards getting the codegen features (introduce local, generate
      variable) to be able
      to use the new use var options correctly.
      a7696cf3