diff --git a/.editorconfig b/.editorconfig index 377e9fd..cbd7fed 100644 --- a/.editorconfig +++ b/.editorconfig @@ -67,6 +67,9 @@ dotnet_diagnostic.CS4014.severity = error dotnet_diagnostic.VSTHRD110.severity = error # Don't force the Async suffix. dotnet_diagnostic.VSTHRD200.severity = none +# VSTHRD103 flags any sync call whose *Async twin exists — but EF Core's DbSet.Add/AddRange +# are in-memory change tracking (the Async twins exist only for HiLo value generation). +dotnet_diagnostic.VSTHRD103.severity = none # Pass CancellationToken when one is available. dotnet_diagnostic.CA2016.severity = error diff --git a/Directory.Packages.props b/Directory.Packages.props index 8125300..ee0eeed 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -24,22 +24,22 @@ - - - - - - - + + + + + + + - + - + diff --git a/src/ProductReviews.AppHost/.editorconfig b/src/ProductReviews.AppHost/.editorconfig index 24240a0..b2143a4 100644 --- a/src/ProductReviews.AppHost/.editorconfig +++ b/src/ProductReviews.AppHost/.editorconfig @@ -1,7 +1,6 @@ # The AppHost's whole job is cross-resource orchestration: env callbacks await -# TaskCompletionSources produced elsewhere, and fire-and-forget provisioning logs to the -# console. The VSTHRD deadlock rules target JoinableTaskFactory contexts and misfire here. +# TaskCompletionSources produced elsewhere. The VSTHRD deadlock rules target +# JoinableTaskFactory contexts and misfire here. [*.cs] dotnet_diagnostic.VSTHRD002.severity = none dotnet_diagnostic.VSTHRD003.severity = none -dotnet_diagnostic.VSTHRD103.severity = none