Skip to content

Commit

Permalink
Fix typo in named-and-optional-arguments.md
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Oct 29, 2024
1 parent 8fa23a9 commit dd06cac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ In the following example, the constructor for `ExampleClass` has one parameter,

The preceding code shows a number of examples where optional parameters aren't applied correctly. The first illustrates that an argument must be supplied for the first parameter, which is required.

## Caller infomation attributes
## Caller information attributes

[Caller information attributes](../../language-reference/attributes/caller-information.md), such as <xref:System.Runtime.CompilerServices.CallerFilePathAttribute>, <xref:System.Runtime.CompilerServices.CallerLineNumberAttribute>, <xref:System.Runtime.CompilerServices.CallerMemberNameAttribute>, and <xref:System.Runtime.CompilerServices.CallerArgumentExpressionAttribute>, are used to obtain information about the caller to a method. These attributes are especially useful when you're debugging or when you need to log information about method calls.

Expand Down

0 comments on commit dd06cac

Please sign in to comment.