-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[security] Add nullability to (generated and manual) bindings (#14884)
* Add nullability * throw better null exceptions * use is null and is not null AND fix spacing * Rolfs suggestions and redo spacing * missed a few spaces * Found one more elusive space Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
- Loading branch information
1 parent
911cdf3
commit fcf1a19
Showing
23 changed files
with
237 additions
and
196 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ | |
// THE SOFTWARE. | ||
// | ||
|
||
#nullable enable | ||
|
||
#if MONOMAC | ||
|
||
using System; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ | |
// THE SOFTWARE. | ||
// | ||
|
||
#nullable enable | ||
|
||
#if MONOMAC | ||
|
||
using System; | ||
|
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.
fcf1a19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ [CI Build] Tests on macOS Mac Catalina (10.15) failed ❌
Failed tests are:
Pipeline on Agent
Hash: fcf1a196317e2ebdeef52dd288c00ff5acc39370
fcf1a19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📋 [CI Build] API Diff 📋
API Current PR diff
ℹ️ API Diff (from PR only) (please review changes)
View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
API diff
✅ API Diff from stable
View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
Generator diff
✅ Generator Diff (no change)
Pipeline on Agent XAMMINI-049.Monterey'
Hash: fcf1a196317e2ebdeef52dd288c00ff5acc39370
fcf1a19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ [CI Build] Tests on macOS M1 - Mac Big Sur (11.5) failed ❌
Failed tests are:
Pipeline on Agent
Hash: fcf1a196317e2ebdeef52dd288c00ff5acc39370
fcf1a19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📚 [CI Build] Artifacts 📚
Packages generated
View packages
Pipeline on Agent XAMMINI-062.Monterey'
Hash: fcf1a196317e2ebdeef52dd288c00ff5acc39370
fcf1a19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ [CI Build] Tests failed on VSTS: simulator tests iOS ❌
Tests failed on VSTS: simulator tests iOS.
Test results
23 tests failed, 211 tests passed.
Failed tests
Tests run: 117 Passed: 107 Inconclusive: 0 Failed: 2 Ignored: 8)
Tests run: 117 Passed: 107 Inconclusive: 0 Failed: 1 Ignored: 9)
Tests run: 129 Passed: 120 Inconclusive: 0 Failed: 1 Ignored: 8)
Tests run: 129 Passed: 118 Inconclusive: 0 Failed: 2 Ignored: 9)
Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
Tests run: 117 Passed: 108 Inconclusive: 0 Failed: 1 Ignored: 8)
Tests run: 117 Passed: 106 Inconclusive: 0 Failed: 2 Ignored: 9)
Tests run: 129 Passed: 120 Inconclusive: 0 Failed: 1 Ignored: 8)
Tests run: 129 Passed: 118 Inconclusive: 0 Failed: 2 Ignored: 9)
Tests run: 20 Passed: 18 Inconclusive: 0 Failed: 1 Ignored: 1)
Tests run: 20 Passed: 18 Inconclusive: 0 Failed: 1 Ignored: 1)
Pipeline on Agent XAMBOT-1030.Monterey'
[security] Add nullability to (generated and manual) bindings (#14884)