-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Group 1] Enable nullable annotations for `Microsoft.Extensions.Primi…
…tives` (#57395) * Annotate src * StringValues array is non-nullable * Anotate ref * Fix analizer error * Update Equals implementation * Result of IChangeToken.RegisterChangeCallback is nullable * Revert "Result of IChangeToken.RegisterChangeCallback is nullable" This reverts commit e005156. * Dont use using in ref * Commit to rerun CI * Revert "Commit to rerun CI" This reverts commit d7230db. * StringValues can contain string?[] * Equals [NotNullWhen(true)] * text = null - retrun false * text = null - retrun false (tests) * Remove unneeded ?. * IChangeToken can be null * Update doc * NullTokenDisposeShouldNotThrow * _registeredCallbackProxy -> RegisteredCallbackProxy * StringValues can be created from string?[]? * Debug.Fail -> Assert.True(false)
- Loading branch information
1 parent
c674260
commit edfed86
Showing
12 changed files
with
208 additions
and
198 deletions.
There are no files selected for viewing
111 changes: 56 additions & 55 deletions
111
src/libraries/Microsoft.Extensions.Primitives/ref/Microsoft.Extensions.Primitives.cs
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
src/libraries/Microsoft.Extensions.Primitives/ref/Microsoft.Extensions.Primitives.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/libraries/Microsoft.Extensions.Primitives/src/Microsoft.Extensions.Primitives.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.