Skip to content

Commit 8c20098

Browse files
BillWagneradegeo
andauthored
Apply suggestions from code review
Co-authored-by: Andy (Steve) De George <[email protected]>
1 parent c811baa commit 8c20098

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/csharp/language-reference/compiler-messages/cs8177.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class C
4949

5050
## To correct this error
5151

52-
Changing the variable declaration to remove the `ref` modifier corrects this error. Or, you can upgrade to C# 13, which ships with .NET 9.
52+
Remove the `ref` modifier. Or, you can upgrade to C# 13, which ships with .NET 9.
5353

5454
```csharp
5555
class C

docs/csharp/misc/cs1629.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ The following sample generates CS1629:
2121
using System.Collections.Generic;
2222
class C
2323
{
24-
IEnumerator<int> IteratorMeth() {
24+
IEnumerator<int> IteratorMethod()
25+
{
2526
int i;
2627
unsafe // CS1629
2728
{

0 commit comments

Comments
 (0)