Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/AVFoundation/AVAudioBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@

namespace AVFoundation {
/// <summary>A buffer for audio data.</summary>
/// <remarks>To be added.</remarks>
/// <related type="externalDocumentation" href="https://developer.apple.com/documentation/avfaudio/avaudiobuffer">Apple documentation for <c>AVAudioBuffer</c></related>
public partial class AVAudioBuffer {
/// <summary>To be added.</summary>
/// <value>To be added.</value>
/// <remarks>To be added.</remarks>
/// <summary>Gets the audio buffer list containing the buffer's audio data.</summary>
/// <value>The audio buffer list.</value>
public AudioBuffers AudioBufferList {
get {
return new AudioBuffers (audioBufferList);
}
}

/// <summary>Gets a mutable version of the underlying <see cref="AudioToolbox.AudioBuffers" />.</summary>
/// <value>To be added.</value>
/// <remarks>To be added.</remarks>
/// <value>The mutable audio buffer list.</value>
public AudioBuffers MutableAudioBufferList {
get {
return new AudioBuffers (mutableAudioBufferList);
Expand Down
9 changes: 3 additions & 6 deletions src/Darwin/TimeSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
#nullable enable

namespace Darwin {
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Represents a POSIX time value with nanosecond precision.</summary>
[StructLayout (LayoutKind.Sequential)]
[NativeName ("timespec")]
public struct TimeSpec {
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>The number of whole seconds.</summary>
public nint Seconds;
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>The additional number of nanoseconds.</summary>
public nint NanoSeconds;
}
}
11 changes: 5 additions & 6 deletions src/FinderSync/Enums.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
#nullable enable

namespace FinderSync {
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Specifies the Finder location where a Finder Sync extension menu appears.</summary>
[Native]
public enum FIMenuKind : ulong {
/// <summary>To be added.</summary>
/// <summary>A contextual menu for selected items.</summary>
ContextualMenuForItems = 0,
/// <summary>To be added.</summary>
/// <summary>A contextual menu for the background of a monitored folder.</summary>
ContextualMenuForContainer = 1,
/// <summary>To be added.</summary>
/// <summary>A contextual menu for an item in the Finder sidebar.</summary>
ContextualMenuForSidebar = 2,
/// <summary>To be added.</summary>
/// <summary>The menu associated with the extension's Finder toolbar item.</summary>
ToolbarItemMenu = 3,
}
}
12 changes: 5 additions & 7 deletions src/Foundation/AdviceAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,23 @@

namespace Foundation {
/// <summary>An attribute that can be used to give programming advice to a user of a function or class.</summary>
/// <remarks>This attribute is intended to give developers some guidance as to what to do.   The contents of the attribute are displayed by the IDE when the user is using a feature like code analysis to give hints as to how to improve the code.</remarks>
/// <remarks>Development tools can display the advice during code analysis to suggest improvements.</remarks>
[AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct |
AttributeTargets.Enum | AttributeTargets.Constructor |
AttributeTargets.Method | AttributeTargets.Property |
AttributeTargets.Field | AttributeTargets.Event |
AttributeTargets.Interface | AttributeTargets.Delegate,
Inherited = false, AllowMultiple = true)]
public class AdviceAttribute : Attribute {
/// <param name="message">To be added.</param>
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Creates an advice attribute with the specified message.</summary>
/// <param name="message">The programming advice to present to developers.</param>
public AdviceAttribute (string message)
{
Message = message;
}

/// <summary>To be added.</summary>
/// <value>To be added.</value>
/// <remarks>To be added.</remarks>
/// <summary>Gets the programming advice.</summary>
/// <value>The message to present to developers.</value>
public string Message { get; private set; }
}
}
14 changes: 8 additions & 6 deletions src/MediaLibrary/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,25 @@
//

namespace MediaLibrary {
/// <summary>A bitmask specifying the kinds of media provided by a media source.</summary>
[Native]
public enum MLMediaSourceType : ulong {
/// <summary>To be added.</summary>
/// <summary>The source provides audio media.</summary>
Audio = 1 << 0,
/// <summary>To be added.</summary>
/// <summary>The source provides image media.</summary>
Image = 1 << 1,
/// <summary>To be added.</summary>
/// <summary>The source provides movie media.</summary>
Movie = 1 << 2,
}

/// <summary>A bitmask specifying one or more kinds of media objects.</summary>
[Native]
public enum MLMediaType : ulong {
/// <summary>To be added.</summary>
/// <summary>Audio media.</summary>
Audio = 1 << 0,
/// <summary>To be added.</summary>
/// <summary>Image media.</summary>
Image = 1 << 1,
/// <summary>To be added.</summary>
/// <summary>Movie media.</summary>
Movie = 1 << 2,
}
}
13 changes: 5 additions & 8 deletions src/ObjCRuntime/RequiredFrameworkAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,15 @@

namespace ObjCRuntime {

/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Specifies a native framework required by an assembly.</summary>
[AttributeUsage (AttributeTargets.Assembly, AllowMultiple = true)]
public class RequiredFrameworkAttribute : Attribute {
/// <summary>To be added.</summary>
/// <value>To be added.</value>
/// <remarks>To be added.</remarks>
/// <summary>Gets the name of the required framework.</summary>
/// <value>The framework name.</value>
public string Name { get; private set; }

/// <param name="name">To be added.</param>
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Creates an attribute for the specified required framework.</summary>
/// <param name="name">The framework name.</param>
public RequiredFrameworkAttribute (string name)
{
Name = name;
Expand Down
10 changes: 4 additions & 6 deletions src/Security/SecStatusCodeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
#nullable enable

namespace Security {
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Provides convenience methods for security status codes.</summary>
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
Expand All @@ -26,10 +25,9 @@ public static class SecStatusCodeExtensions {
/* OSStatus */ SecStatusCode status,
/* void * */ IntPtr reserved); /* always null */

/// <param name="status">To be added.</param>
/// <summary>To be added.</summary>
/// <returns>To be added.</returns>
/// <remarks>To be added.</remarks>
/// <summary>Gets a human-readable description of a security status code.</summary>
/// <param name="status">The security status code to describe.</param>
/// <returns>A description of <paramref name="status" />, or <see langword="null" /> if no description is available.</returns>
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("maccatalyst")]
Expand Down
12 changes: 6 additions & 6 deletions src/Social/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ namespace Social {
/// <summary>The HTTP verb associated with a social service request.</summary>
[Native]
public enum SLRequestMethod : long {
/// <summary>To be added.</summary>
/// <summary>An HTTP GET request.</summary>
Get,
/// <summary>To be added.</summary>
/// <summary>An HTTP POST request.</summary>
Post,
/// <summary>To be added.</summary>
/// <summary>An HTTP DELETE request.</summary>
Delete,
/// <summary>To be added.</summary>
/// <summary>An HTTP PUT request.</summary>
Put,
}

Expand All @@ -29,9 +29,9 @@ public enum SLRequestMethod : long {
[MacCatalyst (13, 1)]
[Native]
public enum SLComposeViewControllerResult : long {
/// <summary>To be added.</summary>
/// <summary>The user cancelled composition.</summary>
Cancelled,
/// <summary>To be added.</summary>
/// <summary>The user completed composition.</summary>
Done,
}
}
2 changes: 0 additions & 2 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24607,8 +24607,6 @@ T:MediaLibrary.MLMediaGroup
T:MediaLibrary.MLMediaLibrary
T:MediaLibrary.MLMediaObject
T:MediaLibrary.MLMediaSource
T:MediaLibrary.MLMediaSourceType
T:MediaLibrary.MLMediaType
T:MediaPlayer.AVMediaSelectionGroup_MPNowPlayingInfoLanguageOptionAdditions
T:MediaPlayer.AVMediaSelectionOption_MPNowPlayingInfoLanguageOptionAdditions
T:MediaPlayer.MPAdTimeRange
Expand Down