1. 14 12月, 2018 1 次提交
  2. 10 12月, 2018 1 次提交
  3. 29 7月, 2018 1 次提交
  4. 26 7月, 2018 1 次提交
  5. 10 7月, 2018 1 次提交
    • J
      Disable rather than try to work around VSTHRD103 · 323ae90c
      Jason Malinowski 提交于
      VSTHRD103 reminds people not to use .Result in tasks, which is great
      advice but we get a few false positives; in particular our
      SafeContinueWith extension isn't understood by the analyzer that the
      tasks involved are always completed, so you can just .Result them.
      Rather than working around this, let's just disable the analyzer in
      those cases.
      323ae90c
  6. 27 6月, 2018 1 次提交
  7. 07 5月, 2018 1 次提交
  8. 29 6月, 2017 1 次提交
  9. 24 2月, 2017 1 次提交
  10. 24 1月, 2017 1 次提交
  11. 19 10月, 2016 1 次提交
    • D
      Don't allow rename on the well-known ValueTuple types · 65d4fca1
      David Poeschl 提交于
      Fixes #14159
      
      The well-known ValueTuple types are very special in that you can ask for
      the SymbolInfo on the ValueTuple token and not get back the ValueTuple
      type. This means that the token we invoke rename on has no locations,
      which Rename Tracking mistakenly interpreted as being okay to rename.
      This has been fixed, and also the RenameUtilities.GetTokenRenameInfo
      method has been updated to return NoSymbolsTokenInfo when it finds an
      ITypeSymbol with IsTupleType.
      65d4fca1
  12. 14 9月, 2016 1 次提交
  13. 10 9月, 2016 1 次提交
  14. 18 12月, 2015 1 次提交
  15. 06 11月, 2015 1 次提交
  16. 12 10月, 2015 1 次提交
  17. 15 5月, 2015 1 次提交
  18. 22 4月, 2015 1 次提交
    • D
      Update RenameTracking state after isRenamableIdentifierTask · 9eff723d
      David Poeschl 提交于
      Fixes internal bug #762964
      
      Rename tracking usually triggers the TrackingSessionUpdated event
      whenever the buffer changes, except for buffer changes that occur before
      the _isRenamableIdentifierTask completes. Prior to this change, rename
      tracking would get stuck in its initial state between the completion of
      _isRenamableIdentifierTask and the next buffer change. We now also
      update the session when _isRenamableIdentifierTask completes.
      9eff723d
  19. 12 3月, 2015 1 次提交
    • D
      Rename methods referenced in nameof expressions · 8dbeb655
      David Poeschl 提交于
      This change adds support for renaming methods that are referenced in nameof expressions during Inline Rename, Rename Tracking, and RenameSymbolAsync. For all of these features, there are three primary cases:
      
      - Rename invoked from a method declaration with no overloads: Any nameof expressions that reference the method are unambiguous and are therefore updated to the new name.
      - Rename invoked from a method declaration with overloads: In this case, any references in nameof expressions are renamed only if the RenameOverloads option is set to true (e.g. when the user checks the "Rename overloads" checkbox in Inline Rename).
      - Rename invoked from a reference in a nameof expression: We always rename all overloads by automatically setting the RenameOverloads option to true and disabling Inline Rename's "Rename overloads" checkbox.
      8dbeb655
  20. 04 3月, 2015 1 次提交
    • S
      Use cached true, false, and empty tasks in a handful of places · 5ed2a672
      Stephen Toub 提交于
      In a handful of places, Task.FromResult(true), Task.FromResult(false), and Task.FromResult(default(T)) were being used, even though equivalent cached tasks are available in SpecializedTasks. This commit just changes those ~20 call sites to use already cached tasks.
      5ed2a672
  21. 27 1月, 2015 1 次提交