Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docs/fundamentals/code-analysis/quality-rules/ca5358.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ For more information, see [How to suppress code analysis warnings](../suppress-w
```csharp
using System.Security.Cryptography;

class ExampleClass {
private static void ExampleMethod () {
class ExampleClass
{
private static void ExampleMethod()
{
RijndaelManaged rijn = new RijndaelManaged
{
Mode = CipherMode.ECB
Expand Down Expand Up @@ -98,8 +100,10 @@ class ExampleClass
```csharp
using System.Security.Cryptography;

class ExampleClass {
private static void ExampleMethod () {
class ExampleClass
{
private static void ExampleMethod()
{
RijndaelManaged rijn = new RijndaelManaged
{
Mode = CipherMode.CBC
Expand Down
Loading