Skip to content

Commit 17533cf

Browse files
authored
Merge pull request #1363 from Rick-Anderson/patch-2
Update common-quick-actions.md
2 parents 56ae503 + 5f68165 commit 17533cf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/ide/common-quick-actions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private void MyMethod()
9696

9797
### Make method asynchronous
9898

99-
When using the `await` or `Await` keyword inside of a method, it is expected that the method itself is marked with the `async` or `Async` keyword. However, if this isn't the case, a Quick Action will appear that will allow you to make the method asynchronous. Use the **Make method/Function asynchronous** option from the Quick Actions menu.
99+
When using the `await` or `Await` keyword inside of a method, it is expected that the method itself is marked with the `async` or `Async` keyword. However, if this isn't the case, a Quick Action will appear that makes the method asynchronous. Use the **Make method/Function asynchronous** option from the Quick Actions menu.
100100

101101
```csharp
102102
// Before
@@ -136,15 +136,15 @@ End Function
136136

137137
### Remove unnecessary usings/Imports
138138

139-
The **Remove Unnecessary Usings/Imports** Quick Action will remove any unused `using` and `Import` statements for the current file. When you select this item, unused namespace imports will be immediately removed.
139+
The **Remove Unnecessary Usings/Imports** Quick Action removes any unused `using` and `Import` statements for the current file. When you select this item, unused namespace imports are removed.
140140

141141
| Applicable Languages | Supported Version |
142142
| -------------------- | ---------------- |
143143
| C# and Visual Basic | Visual Studio 2015 RTW |
144144

145145
### Remove unnecessary cast
146146

147-
If you cast a type to another type which doesn't require a cast, the **Remove Unnecessary Cast** Quick Action item will remove the cast from your code.
147+
If you cast a type to another type which doesn't require a cast, the **Remove Unnecessary Cast** Quick Action item removes the unnecessary cast.
148148

149149
```csharp
150150
// before
@@ -862,7 +862,7 @@ Dim name = customer.name
862862

863863
### Use inferred names
864864

865-
These Quick Actions point out when users can use inferred member names in anonymous types or use C# 7.1's inferred tuple element names.
865+
This Quick Action points out when code can be simplified to use inferred member names in anonymous types, or inferred element names in tuples.
866866

867867
```csharp
868868
// Before
@@ -891,7 +891,7 @@ var tuple = (age, name);
891891

892892
### Deconstruct tuple declaration
893893

894-
This Quick Action enables you to deconstruct tuple variable declarations.
894+
This Quick Action enables deconstructing tuple variable declarations.
895895

896896
```csharp
897897
// Before
@@ -917,7 +917,7 @@ Console.WriteLine($"{x} {y}");
917917

918918
### Make method synchronous
919919

920-
When using the `async` or `Async` keyword on a method, it is expected that somewhere inside that method the `await` or `Await` keyword will also be used. However, if this isn't the case, a Quick Action will appear that will allow you to make the method synchronous by removing the `async` or `Async` keyword and changing the return type. Use the **Make method synchronous** option from the Quick Actions menu.
920+
When using the `async` or `Async` keyword on a method, it's expected that inside that method the `await` or `Await` keyword is also used. However, if this isn't the case, a Quick Action appears that makes the method synchronous by removing the `async` or `Async` keyword and changing the return type. Use the **Make method synchronous** option from the Quick Actions menu.
921921

922922
```csharp
923923
// Before
@@ -955,4 +955,4 @@ End Function
955955

956956
## See also
957957

958-
- [Quick Actions](../ide/quick-actions.md)
958+
- [Quick Actions](../ide/quick-actions.md)

0 commit comments

Comments
 (0)