You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Foundation] Improve nullability in NSArray.FromArrayOfArray. (#24919)
* Improve nullability annotations for FromArrayOfArray (accept NSArray?, return NSObject[][]?).
* Rewrite FromArrayOfArray to use ArrayFromHandleDropNullElements.
* Improve nullability annotations for From(NSObject[][]) (accept NSObject[][]?, return NSArray?).
* Rewrite From(NSObject[][]) to use FromNSObjects.
* Update XML docs for all modified members.
* Add tests for NSArray.FromArrayOfArray, NSArray.From(NSObject[][]) and NSEntityDescription.UniquenessConstraints.
Contributes towards #17285.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/CoreData/NSEntityDescription.cs
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -10,19 +10,20 @@
10
10
11
11
namespaceCoreData{
12
12
/// <summary>Describes the value relationships between an in-memory object and its persistent representation.</summary>
13
-
/// <remarks>To be added.</remarks>
14
13
/// <related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSEntityDescription_Class/index.html">Apple documentation for <c>NSEntityDescription</c></related>
15
14
publicpartialclassNSEntityDescription{
16
15
/// <summary>Gets or sets the uniqueness constraints for this entity.</summary>
17
-
/// <value>To be added.</value>
18
-
/// <remarks>To be added.</remarks>
16
+
/// <value>
17
+
/// A jagged array where each element is an array of <see cref="NSObject" /> properties
18
+
/// that together form a uniqueness constraint. The returned array is never <see langword="null" />; it will be an empty array if no uniqueness constraints are configured.
/// <returns>A jagged array of <see cref="NSObject" /> arrays, or <see langword="null" /> if <paramref name="weakArray" /> is <see langword="null" /> or a conversion error occurs.</returns>
0 commit comments