Skip to content
Draft
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions src/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Settings that apply only to library code under /src
# (so tests, samples, benchmarks, and integration-tests are not affected).

[*.cs]

# CA2007: Consider calling ConfigureAwait on the awaited task.
# Library code must always ConfigureAwait(false) to avoid deadlocks in
# callers that have a SynchronizationContext.
dotnet_diagnostic.CA2007.severity = error
5 changes: 0 additions & 5 deletions src/CodeAnalysis.ruleset

This file was deleted.

1 change: 0 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>

<Nullable>annotations</Nullable>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CodeAnalysis.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<!-- Centralise logic for enabling `IsAotCompatible`. We use this to disable Aot for the device tests, for example -->
Expand Down
Loading