From ab66918445defacafbce0f857b09f6ad19e6458f Mon Sep 17 00:00:00 2001 From: Petr Kulikov Date: Tue, 13 Mar 2018 21:53:10 +0100 Subject: [PATCH] Corrected description of verbatim attribute usage --- docs/csharp/language-reference/tokens/verbatim.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/language-reference/tokens/verbatim.md b/docs/csharp/language-reference/tokens/verbatim.md index 618f70d520e55..2beae49e179df 100644 --- a/docs/csharp/language-reference/tokens/verbatim.md +++ b/docs/csharp/language-reference/tokens/verbatim.md @@ -31,7 +31,7 @@ The `@` special character serves as a verbatim identifier. It can be used in the [!code-csharp[verbatim3](../../../../samples/snippets/csharp/language-reference/keywords/verbatim1.cs#3)] -1. To enable the compiler to distinguish between attributes in cases of a naming conflict. An attribute is a type that derives from . Its type name typically includes the suffix **Attribute**, although the compiler does not enforce this convention. The attribute can then be referenced in code either by its full type name (for example, `[InfoAttribute]` or its shortened name (for example, `[Info]`). However, a naming conflict occurs if two shortened attribute type names are identical, and one type name includes the **Attribute** suffix but the other does not. For example, the following code fails to compile because the compiler cannot determine whether the `Info` or `InfoAttribute` attribute is applied to the `Main` method. +1. To enable the compiler to distinguish between attributes in cases of a naming conflict. An attribute is a type that derives from . Its type name typically includes the suffix **Attribute**, although the compiler does not enforce this convention. The attribute can then be referenced in code either by its full type name (for example, `[InfoAttribute]` or its shortened name (for example, `[Info]`). However, a naming conflict occurs if two shortened attribute type names are identical, and one type name includes the **Attribute** suffix but the other does not. For example, the following code fails to compile because the compiler cannot determine whether the `Info` or `InfoAttribute` attribute is applied to the `Example` class. ```csharp using System;