Skip to content

Commit b54862d

Browse files
authored
Apply suggestions from code review
1 parent 5403239 commit b54862d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

documentation/SA1600.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public string JoinNames(string firstName, string lastName)
4444
}
4545
```
4646

47-
The next example shows a method that is inherited from a base class:
47+
The next example shows a method that inherits documentation from a method in the base class:
4848

4949
```csharp
5050
/// <summary>
@@ -55,7 +55,7 @@ class Vehicle
5555
/// <summary>
5656
/// Accelerates the vehicle.
5757
/// </summary>
58-
public virtual void accelerate()
58+
public virtual void Accelerate()
5959
{
6060
Console.WriteLine("Vehicle is accelerating");
6161
}
@@ -67,7 +67,7 @@ class Vehicle
6767
class Car : Vehicle
6868
{
6969
/// <inheritdoc/>
70-
public override void accelerate()
70+
public override void Accelerate()
7171
{
7272
Console.Writeline("Car is accelerating");
7373
}

0 commit comments

Comments
 (0)