Skip to content

Commit 3babf00

Browse files
Fix Syntax for Output Samples (dotnet#42462)
Sets the output sample's code type to `text` to avoid CLI type highlighting.
1 parent 92a8d2c commit 3babf00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/csharp/language-reference/attributes/caller-information.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You would invoke it as shown in the following example:
5454

5555
The expression used for `condition` is injected by the compiler into the `message` argument. When a developer calls `Operation` with a `null` argument, the following message is stored in the `ArgumentException`:
5656

57-
```dotnetcli
57+
```text
5858
Argument failed validation: <func is not null>
5959
```
6060

@@ -68,7 +68,7 @@ The previous example uses the [`nameof`](../operators/nameof.md) operator for th
6868

6969
The preceding example would throw an <xref:System.ArgumentException> whose message is the following text:
7070

71-
```dotnetcli
71+
```text
7272
Expression doesn't have enough elements: Enumerable.Range(0, 10) (Parameter 'sequence')
7373
```
7474

0 commit comments

Comments
 (0)