[net11.0] Merge main into net11.0.#24519
Conversation
This is file 36 of 47 files with nullability disabled in Foundation. Changes: - Enabled nullability - Added proper XML documentation for all public members - Made return types nullable where appropriate - Added ArgumentNullException.ThrowIfNull checks for method parameters - Added see cref attributes for better documentation cross-referencing - Add a few missing NullAllowed attributes. Contributes towards #17285. --------- Co-authored-by: Copilot <noreply@github.com>
This is file 38 of 47 files with nullability disabled in Foundation. Changes: - Enabled nullability - Added proper XML documentation for all public members, replacing "To be added" placeholders - Made GlobalGetClassName return type nullable (string?) - Replaced ObjCRuntime.ThrowHelper.ThrowArgumentNullException with ArgumentNullException.ThrowIfNull - Added see cref attributes for better documentation cross-referencing - Fixed XML formatting and removed unnecessary whitespace - Documented the relationship between global and instance-specific methods Contributes towards #17285. --------- Co-authored-by: Copilot <noreply@github.com>
This is file 32 of 47 files with nullability disabled in Foundation. Changes: * Enabled nullable reference types * Removed four [SupportedOSPlatform] attributes without version numbers * Removed 'To be added' placeholder comments * Added comprehensive XML documentation for all public members * Added class-level documentation with typeparam * Made LookupMember and AnyObject return nullable since they can return null * Made operator parameters nullable to match actual usage patterns * Made subtraction operator return type nullable since it returns null for empty/null first operand * Added see cref attributes for better documentation * Improved formatting and consistency of XML comments * Add more tests. Contributes towards #17285.
- Enabled nullable reference types - Made attribute parameters nullable where appropriate - Updated null checks to use proper null handling patterns - Improved XML documentation: - Removed 'To be added.' placeholders - Added comprehensive descriptions for all public members - Added see cref attributes for related types - Fixed formatting and consistency - Fixed potential null reference in Append method's ToString() call This is file 35 of 47 files with nullability disabled in Foundation. Contributes towards #17285. --------- Co-authored-by: GitHub Copilot <copilot@github.com>
This is file 39 of 47 files with nullability disabled in Foundation. Changes: - Enabled nullability - Added proper XML documentation for all public members, replacing "To be added" placeholders - Added ArgumentNullException.ThrowIfNull checks for string and NSPortNameServer parameters - Added see cref attributes for better documentation cross-referencing - Added paramref attributes for parameter references in remarks - Fixed XML formatting and removed unnecessary whitespace - Documented the relationship between instance and static GetRootProxy methods Contributes towards #17285. --------- Co-authored-by: Copilot <noreply@github.com>
* Enable nullability for NSMutableDictionary.cs. * Fix interface implementations to match nullability contracts (IDictionary, IDictionary<NSObject, NSObject>). * Make indexers' return type allow null, but disallow setting null values. * Remove all 'To be added.' XML comments. * Add comprehensive XML documentation for all public methods, properties, and indexers. * Use proper 'see cref' attributes for type references in documentation. * Fix ArgumentNullException to use nameof for parameter names. * Remove an unused constructor. Also add NSMutableDictionary tests for missing key behavior: * Add tests to verify that accessing missing keys returns null. * Test all indexer overloads (string, NSObject, NSString). * Test ObjectForKey method with missing keys. * Test TryGetValue with missing keys returns false and null output. * Test IDictionary interface implementations (indexer and Contains). * Ensure existing keys still work correctly after testing missing keys. These tests document and verify the expected behavior when fetching values for keys that don't exist in the dictionary. This is file 34 of 47 files with nullability disabled in Foundation. Contributes towards #17285. --------- Co-authored-by: GitHub Copilot <copilot@github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…nHelper.TryCompress. (#24439) Pass the XamarinTask instance along when calling CompressionHelper.TryCompress, so that TryCompress can use the instance ExecuteAsync method on XamarinTask. This is required for a future change, where the instance XamarinTask.ExecuteAsync method will set the environment to use the current/correct version of Xcode. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This pull request updates the following dependencies ## From https://github.com/dotnet/dotnet - **Subscription**: [7bea2f72-36de-4307-8c02-e200db7ccd92](https://maestro.dot.net/subscriptions?search=7bea2f72-36de-4307-8c02-e200db7ccd92) - **Build**: [20251212.11](https://dev.azure.com/dnceng/internal/_build/results?buildId=2859979) ([294580](https://maestro.dot.net/channel/5173/github:dotnet:dotnet/build/294580)) - **Date Produced**: December 13, 2025 2:31:12 AM UTC - **Commit**: [9441e5bb35fae9e956fdac4bd33ee537175e6d60](dotnet/dotnet@9441e5b) - **Branch**: [release/10.0.1xx](https://github.com/dotnet/dotnet/tree/release/10.0.1xx) - **Dependency Updates**: - From [10.0.2 to 10.0.2][2] - Microsoft.NET.Runtime.MonoTargets.Sdk - Microsoft.NET.ILLink.Tasks - Microsoft.NETCore.App.Ref - From [10.0.0-beta.25611.101 to 10.0.0-beta.25612.111][2] - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Feed - Microsoft.DotNet.SharedFramework.Sdk - From [0.11.5-alpha.25611.101 to 0.11.5-alpha.25612.111][2] - Microsoft.DotNet.Cecil - From [10.0.2-servicing.25611.101 to 10.0.2-servicing.25612.111][2] - Microsoft.NET.ILLink - From [10.0.102-servicing.25611.101 to 10.0.102-servicing.25612.111][2] - Microsoft.NET.Sdk - From [10.0.102 to 10.0.102][2] - Microsoft.TemplateEngine.Authoring.Tasks [2]: dotnet/dotnet@11af6ee...9441e5b
This is file 37 of 47 files with nullability disabled in Foundation.
Changes:
- Enabled nullability
- Fixed typos in file header ("palattable" -> "palatable", "INc" -> "Inc")
- Added proper XML documentation for all public members, replacing "To be added" placeholders
- Replaced include directives with inline documentation from NSLayoutConstraint.xml
- Made return types nullable where appropriate (AsNumber, FirstAnchor, SecondAnchor)
- Made view2 parameter nullable in Create method
- Added ArgumentNullException.ThrowIfNull checks for format and viewsAndMetrics parameters
- Removed all four [SupportedOSPlatform] attributes from FirstAnchor and SecondAnchor methods (none contained version numbers)
- Added see cref attributes for better documentation cross-referencing
- Fixed XML formatting and removed unnecessary whitespace
Contributes towards #17285.
---------
Co-authored-by: Copilot <noreply@github.com>
This is file 31 of 47 files with nullability disabled in Foundation. Changes: * Enabled nullable reference types * Removed 'To be added' placeholder comments * Added comprehensive XML documentation for constructors and operators * Made operator parameters nullable to match actual usage patterns * Made subtraction operator return type nullable since it returns null for empty/null first operand * Added see cref attributes for better documentation * Add extensive tests. Contributes towards #17285. --------- Co-authored-by: GitHub Copilot <copilot@github.com>
This pull request updates the following dependencies ## From https://github.com/dotnet/xharness - **Subscription**: [02e03784-16b3-4ced-b02a-3715797fc7da](https://maestro.dot.net/subscriptions?search=02e03784-16b3-4ced-b02a-3715797fc7da) - **Build**: [20251215.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2861290) ([294675](https://maestro.dot.net/channel/2/github:dotnet:xharness/build/294675)) - **Date Produced**: December 15, 2025 11:38:54 AM UTC - **Commit**: [39545dffac1cee604915785456394ef00a4a5456](dotnet/xharness@39545df) - **Branch**: [main](https://github.com/dotnet/xharness/tree/main) - **Dependency Updates**: - From [11.0.0-prerelease.25603.1 to 11.0.0-prerelease.25615.1][1] - Microsoft.DotNet.XHarness.iOS.Shared [1]: dotnet/xharness@3df2923...39545df
This pull request updates the following dependencies ## From https://github.com/dotnet/macios - **Subscription**: [c0371266-dd6f-4959-822b-decc72d2d668](https://maestro.dot.net/subscriptions?search=c0371266-dd6f-4959-822b-decc72d2d668) - **Build**: [20251216.3](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=12967799) ([294927](https://maestro.dot.net/channel/3884/github:dotnet:macios/build/294927)) - **Date Produced**: December 16, 2025 11:20:48 PM UTC - **Commit**: [e6a0fb7](e6a0fb7) - **Branch**: [release/9.0.1xx](https://github.com/dotnet/macios/tree/release/9.0.1xx) - **Dependency Updates**: - From [26.0.9783 to 26.0.9784][1] - Microsoft.iOS.Sdk.net9.0_26.0 - Microsoft.MacCatalyst.Sdk.net9.0_26.0 - Microsoft.macOS.Sdk.net9.0_26.0 - Microsoft.tvOS.Sdk.net9.0_26.0 [1]: 69e5712...e6a0fb7
This is file 41 of 47 files with nullability disabled in Foundation. * Removes SupportedOSPlatform attributes without version numbers. * Enables nullability and adds nullability attributes where appropriate. * Replaces 'To be added' XML comments with proper documentation. * Adds missing XML documentation for all public members. * Uses ArgumentNullException.ThrowIfNull consistently. * Uses modern C# array syntax ([]) for empty arrays. * Improves IDictionary interface implementation to properly handle missing keys. * Adds some tests. Contributes towards #17285. --------- Co-authored-by: GitHub Copilot <copilot@github.com>
They're not necessary anymore (and probably hasn't been for years).
…esktop apps. (#24468) Use '$(_AppBundleName)' for the name of the app bundle, and '$(_NativeExecutableName)' for the name of the executable.
… 'prelease' to 'live'. (#24465) Also fix some markdown formatting.
…1: Build ID 12987286 (#24472) This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.
…24458) This is file 40 of 47 files with nullability disabled in Foundation. * Enabled nullable reference types. * Removed four SupportedOSPlatform attributes without version numbers. * Replaced 'To be added.' XML comments with proper documentation. * Added XML documentation for all public and protected members. * Used ArgumentNullException.ThrowIfNull for parameter validation. * Fixed XML comment formatting and added see cref attributes. * Made ObjectForKey return nullable TValue? since keys may not exist. * Made TryGetValue parameter nullable with NotNullWhen(true) attribute. * Kept IDictionary interface implementations non-nullable per .NET contract. * Used KeyNotFoundException when indexer accesses missing keys. * Fixed IEnumerator implementations to skip null values in enumeration. * Changed empty array initialization from 'new TValue[]{}' to '[]'. * Remove some dead code. * Add a few more tests. Contributes towards #17285. --------- Co-authored-by: GitHub Copilot <noreply@github.com>
…sertionRequest is no longer gone. (#24477)
This is file 42 of 47 files with nullability disabled in Foundation.
* Enabled nullable reference types.
* Made ObjectForKey return nullable TValue? since keys may not exist.
* Made TryGetValue parameter nullable with NotNullWhen(true) attribute.
* Kept IDictionary interface implementations non-nullable per .NET contract.
* Replaces 'To be added' XML comments with proper documentation.
* Verifies and improves XML comments for language, grammar, consistency and correctness.
* Adds see cref attributes for type references.
* Removes unnecessary whitespace in XML comments.
* Fixes typos ('pais' -> 'pairs').
* Updates System.Object references to use simpler 'object' syntax.
Contributes towards #17285.
should be: iOS and tvOS
This is file 43 of 47 files with nullability disabled in Foundation. * Enables nullability. * Removes SupportedOSPlatform attributes without version numbers from NSObject and NSObservedChange classes. * Replaces XML include attributes with inlined content from NSObjectFlag.xml and NSObservedChange.xml. * Removes 'To be added' XML comments with proper documentation. * Adds missing XML documentation for public and protected members. * Improves XML comments for language, grammar, consistency and correctness. * Adds see cref attributes for type and member references. * Removes unnecessary whitespace in XML comments. Contributes towards #17285. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This pull request updates the following dependencies ## From https://github.com/dotnet/xharness - **Subscription**: [02e03784-16b3-4ced-b02a-3715797fc7da](https://maestro.dot.net/subscriptions?search=02e03784-16b3-4ced-b02a-3715797fc7da) - **Build**: [20251226.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2867449) ([295602](https://maestro.dot.net/channel/2/github:dotnet:xharness/build/295602)) - **Date Produced**: December 26, 2025 10:19:15 AM UTC - **Commit**: [799df8d4c86ff50c83b7a57df9e3691eeab813ec](dotnet/xharness@799df8d) - **Branch**: [main](https://github.com/dotnet/xharness/tree/main) - **Dependency Updates**: - From [11.0.0-prerelease.25615.1 to 11.0.0-prerelease.25626.1][2] - Microsoft.DotNet.XHarness.iOS.Shared [2]: dotnet/xharness@39545df...799df8d
This pull request updates the following dependencies ## From https://github.com/dotnet/xharness - **Subscription**: [02e03784-16b3-4ced-b02a-3715797fc7da](https://maestro.dot.net/subscriptions?search=02e03784-16b3-4ced-b02a-3715797fc7da) - **Build**: [20260112.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=2877120) ([296897](https://maestro.dot.net/channel/2/github:dotnet:xharness/build/296897)) - **Date Produced**: January 12, 2026 1:41:10 PM UTC - **Commit**: [185cb0f85ff4c3cb06b26610b068a079565893aa](dotnet/xharness@185cb0f) - **Branch**: [main](https://github.com/dotnet/xharness/tree/main) - **Dependency Updates**: - From [11.0.0-prerelease.26058.2 to 11.0.0-prerelease.26062.2][1] - Microsoft.DotNet.XHarness.iOS.Shared [1]: dotnet/xharness@799df8d...185cb0f
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [CI Build #289b537] Build passed (Build packages) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [CI Build #289b537] Build passed (Build macOS tests) ✅Pipeline on Agent |
💻 [CI Build #289b537] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
💻 [CI Build #289b537] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
💻 [CI Build #289b537] Tests on macOS arm64 - Mac Tahoe (26) passed 💻✅ All tests on macOS arm64 - Mac Tahoe (26) passed. Pipeline on Agent |
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.
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #289b537] Build passed (Detect API changes) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ 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.
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.
🚀 [CI Build #289b537] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 117 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
No description provided.