style: (#746)
- convert ValueStringBuilder.cs to file-scoped namespaces - add rule in .editorconfig
This commit is contained in:
parent
0cf449eaca
commit
4855a3668c
2 changed files with 234 additions and 234 deletions
|
|
@ -3,6 +3,7 @@ root = true
|
|||
|
||||
# C# files
|
||||
[*.cs]
|
||||
csharp_style_namespace_declarations=file_scoped:warning
|
||||
|
||||
# Compiler
|
||||
dotnet_diagnostic.CS1998.severity = suggestion # CS1998: Missing awaits
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ using System.Runtime.InteropServices;
|
|||
|
||||
#nullable enable
|
||||
|
||||
namespace System.Text
|
||||
{
|
||||
namespace System.Text;
|
||||
|
||||
internal ref partial struct ValueStringBuilder
|
||||
{
|
||||
private char[]? _arrayToReturnToPool;
|
||||
|
|
@ -314,4 +314,3 @@ namespace System.Text
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue