[src] Fix nullability for FieldAttribute.SymbolName and update xml docs. - #26365
[src] Fix nullability for FieldAttribute.SymbolName and update xml docs.#26365rolfbjarne wants to merge 2 commits into
Conversation
The SymbolName property is nullable (we set it to null a number of times in our own bindings), so declare it as such.
There was a problem hiding this comment.
Pull request overview
This PR updates the Foundation.FieldAttribute API annotations to reflect that SymbolName is used as nullable in the repo’s own bindings, and it tightens up the XML docs formatting around the affected members.
Changes:
- Make
FieldAttribute.SymbolNamenullable (string?) and allownullin thesymbolNameconstructor parameters. - Consolidate/clean up XML documentation formatting for
FieldAttributemembers.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…n test build. - Document the null SymbolName semantics on both FieldAttribute constructors and the SymbolName property. - Fix the introspection tests (ApiFieldTest, ApiSimulatorAvailabilityTest) which broke because SymbolName is now nullable. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🔥 [CI Build #a3f01c0] Test results 🔥Test results❌ Tests failed on VSTS: test results 0 tests crashed, 19 tests failed, 184 tests passed. Failures❌ monotouch tests (tvOS) [attempt 2]19 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download Successes✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
The SymbolName property is nullable (we set it to null a number of times in our own bindings), so declare it as such.