Skip to content

Commit 1b665a4

Browse files
committed
removed part about resource files since it's not applicable to this rule
1 parent 0e3c8ab commit 1b665a4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/code-quality/ca2204-literals-should-be-spelled-correctly.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ For example:
5353
<CodeAnalysisCulture>en-AU</CodeAnalysisCulture>
5454
```
5555

56-
If your string literals are managed in [resource files](/dotnet/framework/resources/creating-resource-files-for-desktop-apps), then instead of adding the **CodeAnalysisCulture** element to the project file, add one of the following attributes to the assembly:
57-
58-
- Use <xref:System.Resources.NeutralResourcesLanguageAttribute> to specify the *neutral culture* of your assembly if your resources are in the same assembly as your code.
59-
- Use <xref:System.Reflection.AssemblyCultureAttribute> to specify the assembly culture if your resources are in a satellite assembly.
60-
6156
> [!IMPORTANT]
6257
> If you set the culture to anything other than an English-based culture, this code analysis rule is silently disabled.
6358

0 commit comments

Comments
 (0)