Skip to content

Commit fef9c82

Browse files
authored
Fix formatting for CA5358 code examples (#48939)
1 parent a10afd9 commit fef9c82

File tree

1 file changed

+8
-4
lines changed
  • docs/fundamentals/code-analysis/quality-rules

1 file changed

+8
-4
lines changed

docs/fundamentals/code-analysis/quality-rules/ca5358.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ For more information, see [How to suppress code analysis warnings](../suppress-w
6868
```csharp
6969
using System.Security.Cryptography;
7070

71-
class ExampleClass {
72-
private static void ExampleMethod () {
71+
class ExampleClass
72+
{
73+
private static void ExampleMethod()
74+
{
7375
RijndaelManaged rijn = new RijndaelManaged
7476
{
7577
Mode = CipherMode.ECB
@@ -98,8 +100,10 @@ class ExampleClass
98100
```csharp
99101
using System.Security.Cryptography;
100102

101-
class ExampleClass {
102-
private static void ExampleMethod () {
103+
class ExampleClass
104+
{
105+
private static void ExampleMethod()
106+
{
103107
RijndaelManaged rijn = new RijndaelManaged
104108
{
105109
Mode = CipherMode.CBC

0 commit comments

Comments
 (0)