Skip to content

Conversation

@davidnmbond
Copy link

Latest C#12 standards for code analysis

object and others added 30 commits December 31, 2020 13:06
s/new (.+)\[\s*\]\s*\{\s*\}/Array.Empty<$1>()/
davidnmbond and others added 30 commits November 9, 2022 00:05
…g semaphore and semaphoreLimiter to RequestRunner.
Remove unnecessary CancellationToken IsCancellationRequested check, as it is already checked inside ThrowIfCancellationRequested (https://github.com/dotnet/runtime/blob/release/7.0/src/libraries/System.Private.CoreLib/src/System/Threading/CancellationToken.cs#L359-L363)
Add rate-limiting to outgoing requests.
Improving performance via pattern-matching for nulls where possible.
  - Alphabetization
  - Nest constructors
  - Add IgnoreNavigationPropertiesOnUpdate
- Allows null navigation properties to be ignored on update.
- Associated unit tests.
- .NET 8.0, .NET 7.0, and .NET Standard 2.0 Support solution-wide
- Move more code artifacts into the `src` folder (having source outside of `src` is weird)
- Move the "Dynamic" project into Core
- Dramatically expand Directory.Build.props
- Simplify and standardize project file layout
- Create a "Package-Only" project for the Metapackage
- Pin NuGet references to the latest minor versions on build
- Remove ConfigureAwaits from unit tests (per xunit Analyzer)
- Remove unnecessary usings
- Added package readmes to every deployable project
- Restored certain code paths from previous builds on platforms that cannot leverage new language features (like array slicing shortcuts)
- Fixed an issue where XML resources were not being updated by the compiler.
- Reduced over 2000 warnings down to about 700

TODO:
- One unit test fails on .NET 4.8
- Ready for CI integration
Solution Modernization (Part 1) - What a tedious review!  All looks good though.
This reverts commit 55123f6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.