Skip to content

Commit 0333a2a

Browse files
authored
Fix typo (#25310)
1 parent c6ac844 commit 0333a2a

File tree

1 file changed

+1
-1
lines changed
  • docs/csharp/language-reference/compiler-messages

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This error occurs when you try to call a method or access a class member that do
1515

1616
## Example
1717

18-
The following example generates CS1061 because `Person` does not have a `DisplayName` method. It does have a method that is called `WriteSomething`. Perhaps that is what the author of this source code meant to write.
18+
The following example generates CS1061 because `Person` does not have a `DisplayName` method. It does have a method that is called `WriteName`. Perhaps that is what the author of this source code meant to write.
1919

2020
```csharp
2121
public class Person

0 commit comments

Comments
 (0)