Skip to content

Commit

Permalink
fix: Comment in 18.21 (#771)
Browse files Browse the repository at this point in the history
Fixes #712
  • Loading branch information
BenjaminMichaelis authored Apr 4, 2024
1 parent 027b36e commit 43e69a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Errata.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ Zhou Jing | 18 | 911 | Change CommandLineRequiredAttribute to CommandLineSwitchR
Zhou Jing | 18 | 902-903 | Change CommandLineAliasAttribute to CommandLineSwitchAliasAttribute
Zhou Jing | 23 | 1105 | Change `Length = 10` in listing 23.20 to `Length = 12` to show entire output message
Zhou Jing | 18 | 926-927 | Change 'LastName' references to be 'FirstName' in paragraphs
Jinhang He | 5 | 255 | Edit listing 5.20 to used `image[index]` for the second print statement
Jinhang He | 5 | 255 | Edit listing 5.20 to used `image[index]` for the second print statement
Zhou Jing | 18 | 908 | Change comment in Listing 18.21 to "Restrict the attribute to properties and fields" from "Restrict the attribute to properties and methods"
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter18.Listing18_21;

#region INCLUDE
// Restrict the attribute to properties and methods
// Restrict the attribute to properties and fields
#region HIGHLIGHT
[AttributeUsage(
AttributeTargets.Field | AttributeTargets.Property)]
Expand Down

0 comments on commit 43e69a9

Please sign in to comment.