- 15 5月, 2015 1 次提交
-
-
由 David Poeschl 提交于
Fixes #2605 "Lightbulb suggests renaming a type to 'var'" This change disables using Rename Tracking to rename to/from "var" and "dynamic" in C#.
-
- 22 4月, 2015 1 次提交
-
-
由 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.
-
- 12 3月, 2015 1 次提交
-
-
由 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.
-
- 04 3月, 2015 1 次提交
-
-
由 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.
-
- 27 1月, 2015 1 次提交
-
-
由 beep boop 提交于
-