(You are currently looking at the third edition version of this page. This page is also available for the first and second editions.)

Errata for Chapter 16: C# 5 bonus features and closing thoughts

P522, listing 16.3: Incorrect indentation

In listing 16.3, the body of the attribute constructor (Member = member;) should be indented.

P522, under listing 16.4: Incorrect listing reference

Just under listing 16.4, I accidentally refer to listing 16.3... while giving the output of listing 16.4. So this:

Listing 16.3 just prints Called by: Unknown as if the output weren't present.

should be:

Listing 16.4 just prints Called by: Unknown as if the output weren't present.