We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd348a8 commit 0cb66e0Copy full SHA for 0cb66e0
docs/fundamentals/code-analysis/quality-rules/ca1864.md
@@ -41,7 +41,8 @@ The following code snippet shows a violation of CA1864:
41
```csharp
42
void Run(IDictionary<int, string> dictionary)
43
{
44
- if(!dictionary.ContainsKey(2)) {
+ if (!dictionary.ContainsKey(2))
45
+ {
46
dictionary.Add(2, "Hello World");
47
}
48
0 commit comments