Skip to content

Commit 32ac568

Browse files
Merge branch 'main' into 1557-fix-collectiobview
2 parents bd32e21 + 0d49ae0 commit 32ac568

File tree

298 files changed

+13370
-3593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+13370
-3593
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ csharp_style_namespace_declarations = file_scoped:error
4646
# CS4014: Because this call is not awaited, execution of the current method continues before the call is completed
4747
dotnet_diagnostic.CS4014.severity = error
4848

49+
# CS2012: ValueTask instances returned from member invocations are intended to be directly awaited. Attempts to consume a ValueTask multiple times or to directly access one's result before it's known to be completed may result in an exception or corruption. Ignoring such a ValueTask is likely an indication of a functional bug and may degrade performance.
50+
dotnet_diagnostic.CS2012.severity = error
51+
52+
# CS1998 : This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
53+
dotnet_diagnostic.CS1998.severity = error
54+
4955
# Remove explicit default access modifiers
5056
dotnet_style_require_accessibility_modifiers = omit_if_default:error
5157

@@ -73,6 +79,9 @@ csharp_style_inlined_variable_declaration = true:suggestion
7379
csharp_style_throw_expression = true:suggestion
7480
csharp_style_conditional_delegate_call = true:suggestion
7581

82+
# Collection Expressions
83+
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion
84+
7685
# Naming rules
7786

7887
dotnet_diagnostic.IDE1006.severity = error

0 commit comments

Comments
 (0)