diff --git a/src/AVFoundation/AVLayerVideoGravity.cs b/src/AVFoundation/AVLayerVideoGravity.cs index bc27ee44e35f..023dd0816cc6 100644 --- a/src/AVFoundation/AVLayerVideoGravity.cs +++ b/src/AVFoundation/AVLayerVideoGravity.cs @@ -38,7 +38,7 @@ namespace AVFoundation { public enum AVLayerVideoGravity { ResizeAspect, ResizeAspectFill, - Resize + Resize, } partial class AVPlayerLayer { diff --git a/src/AVFoundation/AVPlayerItemVideoOutput.cs b/src/AVFoundation/AVPlayerItemVideoOutput.cs index 2e8eb918cd4e..4557b60e89da 100644 --- a/src/AVFoundation/AVPlayerItemVideoOutput.cs +++ b/src/AVFoundation/AVPlayerItemVideoOutput.cs @@ -12,7 +12,7 @@ public partial class AVPlayerItemVideoOutput { enum InitMode { PixelAttributes, - OutputSettings + OutputSettings, } AVPlayerItemVideoOutput (NSDictionary? data, AVPlayerItemVideoOutput.InitMode mode) : base (NSObjectFlag.Empty) diff --git a/src/AVFoundation/AVVideoSettings.cs b/src/AVFoundation/AVVideoSettings.cs index 6ba53660d1de..2d50f086d205 100644 --- a/src/AVFoundation/AVVideoSettings.cs +++ b/src/AVFoundation/AVVideoSettings.cs @@ -41,7 +41,7 @@ public enum AVVideoCodec : int { /// To be added. H264 = 1, /// To be added. - JPEG = 2 + JPEG = 2, } // Convenience enum for native strings - AVVideoSettings.h @@ -55,7 +55,7 @@ public enum AVVideoScalingMode : int { /// Preserves aspect ratio of the source and fills remaining areas with black to fit destination dimensions. ResizeAspect, /// Preserves aspect ratio of the source and crops picture to fit destination dimensions. - ResizeAspectFill + ResizeAspectFill, } // Convenience enum for native strings - AVVideoSettings.h @@ -164,7 +164,7 @@ public enum AVVideoH264EntropyMode { /// To be added. AdaptiveVariableLength, /// To be added. - AdaptiveBinaryArithmetic + AdaptiveBinaryArithmetic, } #endif diff --git a/src/AVFoundation/Enums.cs b/src/AVFoundation/Enums.cs index 7428fe28a572..09d88ac045c6 100644 --- a/src/AVFoundation/Enums.cs +++ b/src/AVFoundation/Enums.cs @@ -1025,7 +1025,7 @@ public enum AVCaptureLensStabilizationStatus : long { Off = 1, Active = 2, OutOfRange = 3, - Unavailable = 4 + Unavailable = 4, } [Introduced (PlatformName.MacCatalyst, 14, 0)] diff --git a/src/AVKit/Enums.cs b/src/AVKit/Enums.cs index 41a7f676dbcb..90b59a53c7ef 100644 --- a/src/AVKit/Enums.cs +++ b/src/AVKit/Enums.cs @@ -14,7 +14,7 @@ public enum AVPlayerViewControlsStyle : long { Inline, Floating, Minimal, - Default = Inline + Default = Inline, } #endif diff --git a/src/Accelerate/vImageTypes.cs b/src/Accelerate/vImageTypes.cs index 73afb191b4c5..595ce28fb380 100644 --- a/src/Accelerate/vImageTypes.cs +++ b/src/Accelerate/vImageTypes.cs @@ -141,7 +141,7 @@ public enum vImageError : long { InvalidRowBytes = -21777, InvalidImageFormat = -21778, ColorSyncIsAbsent = -21779, - OutOfPlaceOperationRequired = -21780 + OutOfPlaceOperationRequired = -21780, } // anonymous enum - Transform.h @@ -157,7 +157,7 @@ public enum vImageGamma { k11over9_HalfPrecision = 8, k9over11_HalfPrecision = 9, kBT709_ForwardHalfPrecision = 10, - kBT709_ReverseHalfPrecision = 11 + kBT709_ReverseHalfPrecision = 11, }; // vImageMDTableUsageHint (untyped) - Transform.h @@ -170,7 +170,7 @@ public enum vImageMDTableUsageHint : int { public enum vImageInterpolationMethod : int { None = 0, Full = 1, - Half = 2 + Half = 2, } [Flags] @@ -186,7 +186,7 @@ public enum vImageFlags : uint { TruncateKernel = 64, GetTempBufferSize = 128, PrintDiagnosticsToConsole = 256, - NoAllocate = 512 + NoAllocate = 512, } #if NET diff --git a/src/Accounts/AccountStoreOptions.cs b/src/Accounts/AccountStoreOptions.cs index 08bfb3820b10..3316599bdd28 100644 --- a/src/Accounts/AccountStoreOptions.cs +++ b/src/Accounts/AccountStoreOptions.cs @@ -40,7 +40,7 @@ namespace Accounts { public enum ACFacebookAudience { Everyone = 1, Friends, - OnlyMe + OnlyMe, } #if NET diff --git a/src/AddressBook/ABEnums.cs b/src/AddressBook/ABEnums.cs index 9f854d3ca772..759674d0783d 100644 --- a/src/AddressBook/ABEnums.cs +++ b/src/AddressBook/ABEnums.cs @@ -54,7 +54,7 @@ public enum ABAddressBookError { public enum ABAddressBookError : long { #endif OperationNotPermittedByStore = 0, - OperationNotPermittedByUserError + OperationNotPermittedByUserError, } /// An enumeration whose values specify the possible results of the method. @@ -66,7 +66,7 @@ public enum ABAuthorizationStatus : long { NotDetermined = 0, Restricted, Denied, - Authorized + Authorized, } /// How to sort records. diff --git a/src/AppKit/EventArgs.cs b/src/AppKit/EventArgs.cs index c56d17641d13..53586cc0633d 100644 --- a/src/AppKit/EventArgs.cs +++ b/src/AppKit/EventArgs.cs @@ -38,7 +38,7 @@ public enum NSFontCollectionAction { Unknown, Shown, Hidden, - Renamed + Renamed, } public partial class NSFontCollectionChangedEventArgs { @@ -64,7 +64,7 @@ public NSFontCollectionVisibility Visibility { public enum NSPopoverCloseReason { Unknown, Standard, - DetachToWindow + DetachToWindow, } public partial class NSPopoverCloseEventArgs { diff --git a/src/AppKit/NSStatusBar.cs b/src/AppKit/NSStatusBar.cs index eae112554dcb..76b8ad1a402b 100644 --- a/src/AppKit/NSStatusBar.cs +++ b/src/AppKit/NSStatusBar.cs @@ -16,7 +16,7 @@ namespace AppKit { public enum NSStatusItemLength { Variable = -1, - Square = -2 + Square = -2, } public partial class NSStatusBar { diff --git a/src/AppKit/XEnums.cs b/src/AppKit/XEnums.cs index 6de75101cbc9..29eca5a3068f 100644 --- a/src/AppKit/XEnums.cs +++ b/src/AppKit/XEnums.cs @@ -17,7 +17,7 @@ namespace AppKit { [Native] public enum NSPrintRenderingQuality : long { Best, - Responsive + Responsive, } [NoMacCatalyst] @@ -25,7 +25,7 @@ public enum NSPrintRenderingQuality : long { public enum NSCorrectionIndicatorType : long { Default = 0, Reversion, - Guesses + Guesses, } [NoMacCatalyst] @@ -36,7 +36,7 @@ public enum NSCorrectionResponse : long { Rejected, Ignored, Edited, - Reverted + Reverted, } [NoMacCatalyst] @@ -45,7 +45,7 @@ public enum NSTextFinderMatchingType : long { Contains = 0, StartsWith = 1, FullWord = 2, - EndsWith = 3 + EndsWith = 3, } [NoMacCatalyst] @@ -67,7 +67,7 @@ public enum NSCharacterCollection : ulong { AdobeJapan2 = 4, /// Adobe-Korea1 - AdobeKorea1 = 5 + AdobeKorea1 = 5, } [NoMacCatalyst] @@ -81,6 +81,6 @@ public enum NSSpellingState : int { None = 0x0, Spelling = 0x1, - Grammar = 0x2 + Grammar = 0x2, } } diff --git a/src/AudioToolbox/AudioConverter.cs b/src/AudioToolbox/AudioConverter.cs index 48a5a9f28059..a3ba9d4a63c6 100644 --- a/src/AudioToolbox/AudioConverter.cs +++ b/src/AudioToolbox/AudioConverter.cs @@ -94,7 +94,7 @@ public enum AudioConverterQuality // typedef UInt32 AudioConverterPropertyID /// Represents low quality. Low = 0x20, /// Represents minimum quality. - Min = 0 + Min = 0, } public enum AudioConverterPrimeMethod // typedef UInt32 AudioConverterPropertyID @@ -104,7 +104,7 @@ public enum AudioConverterPrimeMethod // typedef UInt32 AudioConverterPropertyID /// Represents primes with trailing input frames only. Normal = 1, /// Represents primes with both leading and trailing input frames to be silence. - None = 2 + None = 2, } [Flags] diff --git a/src/AudioToolbox/AudioFile.cs b/src/AudioToolbox/AudioFile.cs index 3085cc097ba4..d63f07a90cf0 100644 --- a/src/AudioToolbox/AudioFile.cs +++ b/src/AudioToolbox/AudioFile.cs @@ -156,7 +156,7 @@ public enum AudioFilePermission { /// To be added. Write = 0x02, /// To be added. - ReadWrite = 0x03 + ReadWrite = 0x03, } [Flags] @@ -164,7 +164,7 @@ public enum AudioFileFlags { // UInt32 in AudioFileCreateWithURL() /// To be added. EraseFlags = 1, /// If this flag is set, audio data will be written without page alignment. This will make the data more compact but possibly slow readout. - DontPageAlignAudioData = 2 + DontPageAlignAudioData = 2, } public enum AudioFileProperty { // typedef UInt32 AudioFilePropertyID @@ -242,7 +242,7 @@ public enum AudioFileLoopDirection { // Unused? /// To be added. ForwardAndBackward = 2, /// To be added. - Backward = 3 + Backward = 3, } public enum AudioFileChunkType : uint // CoreAudio.framework - CoreAudioTypes.h - "four char code IDs" @@ -305,7 +305,7 @@ struct AudioBytePacketTranslation { [Flags] enum BytePacketTranslationFlags : uint // Stored in UInt32 in AudioBytePacketTranslation - AudioFile.h { - IsEstimate = 1 + IsEstimate = 1, } #if NET @@ -683,7 +683,7 @@ public enum AudioFileRegionFlags : uint // UInt32 in AudioFileRegion /// The region is played normally. PlayForward = 2, /// The region is played in reverse. - PlayBackward = 4 + PlayBackward = 4, } #if NET diff --git a/src/AudioToolbox/AudioFormat.cs b/src/AudioToolbox/AudioFormat.cs index 973fc84f4a6d..ed4e3d324cef 100644 --- a/src/AudioToolbox/AudioFormat.cs +++ b/src/AudioToolbox/AudioFormat.cs @@ -97,7 +97,7 @@ public enum AudioFormatError : int // Implictly cast to OSType /// To be added. UnsupportedDataFormat = 0x666d743f, // 'fmt?' /// To be added. - UnknownFormat = 0x21666d74 // '!fmt' + UnknownFormat = 0x21666d74, // '!fmt' // TODO: Not documented // '!dat' @@ -124,7 +124,7 @@ public enum AudioBalanceFadeType : uint // UInt32 in AudioBalanceFades /// Overall gain is not allowed to exceed 1.0. MaxUnityGain = 0, /// Overall loudness remains constant, but gain may be as high as 1.414 (+3dB). - EqualPower = 1 + EqualPower = 1, } #if NET @@ -215,7 +215,7 @@ public enum PanningMode : uint // UInt32 in AudioPanningInfo /// To be added. SoundField = 3, /// To be added. - VectorBasedPanning = 4 + VectorBasedPanning = 4, } #if NET @@ -298,7 +298,7 @@ Layout ToStruct () Coord0 = Coordinates [0], Coord1 = Coordinates [1], Coord2 = Coordinates [2], - GainScale = GainScale + GainScale = GainScale, }; if (OutputChannelMap is not null) { diff --git a/src/AudioToolbox/AudioQueue.cs b/src/AudioToolbox/AudioQueue.cs index 34e6e39c2ba5..f05ea85344fe 100644 --- a/src/AudioToolbox/AudioQueue.cs +++ b/src/AudioToolbox/AudioQueue.cs @@ -117,7 +117,7 @@ public enum AudioQueueStatus { // Implictly cast to OSType // From kAudio_ /// To be added. - GeneralParamError = -50 + GeneralParamError = -50, } #if NET @@ -269,7 +269,7 @@ public enum AudioQueueTimePitchAlgorithm : uint { LowQualityZeroLatency = 0x6c717a6c, // lqzl #endif /// To be added. - Varispeed = 0x76737064 // vspd + Varispeed = 0x76737064, // vspd } public enum AudioQueueHardwareCodecPolicy { // A AudioQueuePropertyID (UInt32) @@ -282,7 +282,7 @@ public enum AudioQueueHardwareCodecPolicy { // A AudioQueuePropertyID (UInt32) /// To be added. PreferSoftware = 3, /// To be added. - PreferHardware = 4 + PreferHardware = 4, } public enum AudioQueueParameter : uint // UInt32 AudioQueueParameterID @@ -303,7 +303,7 @@ public enum AudioQueueDeviceProperty { // UInt32 AudioQueueParameterID /// To be added. SampleRate = 0x61717372, /// To be added. - NumberChannels = 0x61716463 + NumberChannels = 0x61716463, } [Flags] @@ -1779,7 +1779,7 @@ public unsafe AudioQueueStatus RenderOffline (double timeStamp, AudioQueueBuffer var stamp = new AudioTimeStamp () { SampleTime = timeStamp, - Flags = AudioTimeStamp.AtsFlags.SampleTimeValid + Flags = AudioTimeStamp.AtsFlags.SampleTimeValid, }; return AudioQueueOfflineRender (handle, &stamp, audioQueueBuffer, frameCount); } diff --git a/src/AudioToolbox/AudioServices.cs b/src/AudioToolbox/AudioServices.cs index 39cdfe3289d9..b34445919c76 100644 --- a/src/AudioToolbox/AudioServices.cs +++ b/src/AudioToolbox/AudioServices.cs @@ -56,7 +56,7 @@ public enum AudioServicesError { // Implictly cast to OSType enum AudioServicesPropertyKey : uint // UInt32 AudioServicesPropertyID { IsUISound = 0x69737569, // 'isui' - CompletePlaybackIfAppDies = 0x69666469 // 'ifdi' + CompletePlaybackIfAppDies = 0x69666469, // 'ifdi' } static class AudioServices { diff --git a/src/AudioToolbox/AudioSessions.cs b/src/AudioToolbox/AudioSessions.cs index 1829609ac69d..67b4142c5454 100644 --- a/src/AudioToolbox/AudioSessions.cs +++ b/src/AudioToolbox/AudioSessions.cs @@ -98,7 +98,7 @@ public enum AudioSessionCategory { // UInt32 AudioSessionPropertyID /// /// Use this category when you want to use the hardware accelerated audio support to perform audio conversions. /// - AudioProcessing = 0x70726f63 // 'proc' + AudioProcessing = 0x70726f63, // 'proc' } /// Possible values to override the audio route @@ -126,7 +126,7 @@ public enum AudioSessionRouteChangeReason { // UInt32 AudioSessionPropertyID /// There is no audio device for the current set category in the audio session. For example, recording when there is no microphone available. NoSuitableRouteForCategory = 7, /// To be added. - RouteConfigurationChange = 8 + RouteConfigurationChange = 8, } /// An enumeration whose values indicate whether the application should resume after an interruption. Returned by the property. @@ -248,7 +248,7 @@ public enum AudioSessionMode { // UInt32 AudioSessionPropertyID public enum AudioSessionActiveFlags : uint // UInt32 in AudioSessionSetActiveWithFlags { /// If this value is set, the operating system might notify and resume background applications that were playing audio back. - NotifyOthersOnDeactivation = (1 << 0) + NotifyOthersOnDeactivation = (1 << 0), } /// The available audio input sources on the device. diff --git a/src/AudioToolbox/AudioType.cs b/src/AudioToolbox/AudioType.cs index 6a33200a061a..533b825d7b46 100644 --- a/src/AudioToolbox/AudioType.cs +++ b/src/AudioToolbox/AudioType.cs @@ -208,7 +208,7 @@ public enum AudioFormatFlags : uint // UInt32 in AudioStreamBasicDescription /// To be added. CafIsFloat = (1 << 0), /// To be added. - CafIsLittleEndian = (1 << 1) + CafIsLittleEndian = (1 << 1), } [StructLayout (LayoutKind.Sequential)] @@ -526,7 +526,7 @@ public enum AudioChannelFlags : uint { // UInt32 in AudioPanningInfo -- AudioFor /// To be added. SphericalCoordinates = 1 << 1, /// To be added. - Meters = 1 << 2 + Meters = 1 << 2, } public enum AudioChannelLabel : int { // UInt32 AudioChannelLabel @@ -1333,7 +1333,7 @@ public enum AudioChannelLayoutTag : uint { // UInt32 AudioChannelLayoutTag MPEG_7_1_D = (219U << 16) | 8, /// To be added. - Unknown = 0xFFFF0000 // needs to be ORed with the actual number of channels + Unknown = 0xFFFF0000, // needs to be ORed with the actual number of channels } #if !COREBUILD @@ -1695,7 +1695,7 @@ public enum SmpteTimeFlags : uint { // UInt32 /// The full time is valid. TimeValid = 1 << 0, /// Time is running. - TimeRunning = 1 << 1 + TimeRunning = 1 << 1, } public enum MPEG4ObjectID { // long @@ -1716,7 +1716,7 @@ public enum MPEG4ObjectID { // long /// MPEG-4 speech audio profile CELP. Celp = 8, /// MPEG-4 main audio profile HVXC. - Hvxc = 9 + Hvxc = 9, } #if NET @@ -1841,7 +1841,7 @@ public enum AtsFlags : uint { // UInt32 in AudioTimeStamp /// The SmpteTime is valid. SmpteTimeValid = (1 << 4), /// The SampleHostTime is valid. - SampleHostTimeValid = SampleTimeValid | HostTimeValid + SampleHostTimeValid = SampleTimeValid | HostTimeValid, } /// To be added. diff --git a/src/AudioToolbox/MusicPlayer.cs b/src/AudioToolbox/MusicPlayer.cs index b88987eb3d43..91492a476131 100644 --- a/src/AudioToolbox/MusicPlayer.cs +++ b/src/AudioToolbox/MusicPlayer.cs @@ -49,7 +49,7 @@ public enum MusicPlayerStatus { /// To be added. CannotDoInCurrentContext = -10863, /// To be added. - NoTrackDestination = -66720 + NoTrackDestination = -66720, } // typedef UInt32 -> MusicPlayer.h @@ -73,7 +73,7 @@ public enum MusicEventType : uint { /// To be added. Parameter = 9, /// To be added. - AUPreset = 10 + AUPreset = 10, } // typedef UInt32 -> MusicPlayer.h @@ -82,7 +82,7 @@ public enum MusicSequenceLoadFlags { /// Indicates that the input tracks will be preserved in the output. PreserveTracks = 0, /// Indicates that the output will contain a tempo track, a track for each SMF MIDI channel, and a track for SysEx or MetaEvents. - ChannelsToTracks = 1 << 0 + ChannelsToTracks = 1 << 0, } // typedef UInt32 -> MusicPlayer.h @@ -101,7 +101,7 @@ public enum MusicSequenceFileFlags { /// Indicates that the existing file should not be erased. Default = 0, /// Indicates that the existing file should be erased. - EraseFile = 1 + EraseFile = 1, } diff --git a/src/AudioToolbox/MusicSequence.cs b/src/AudioToolbox/MusicSequence.cs index 6e55cb707f7c..12b1888ee001 100644 --- a/src/AudioToolbox/MusicSequence.cs +++ b/src/AudioToolbox/MusicSequence.cs @@ -445,6 +445,6 @@ public enum MusicSequenceType : uint { /// A MIDI sequence saved with SMPTE timecode. Seconds = 0x73656373, // 'secs' /// Indicates an audio sample. The tempo track defines samples-per-second. - Samples = 0x73616d70 // 'samp' + Samples = 0x73616d70, // 'samp' } } diff --git a/src/AudioToolbox/MusicTrack.cs b/src/AudioToolbox/MusicTrack.cs index 03ebe07115c7..381f9b7e38ca 100644 --- a/src/AudioToolbox/MusicTrack.cs +++ b/src/AudioToolbox/MusicTrack.cs @@ -375,7 +375,7 @@ enum SequenceTrackProperty { SoloStatus, AutomatedParameters, TrackLength, - TimeResolution + TimeResolution, } /// To be added. diff --git a/src/AudioUnit/AUEnums.cs b/src/AudioUnit/AUEnums.cs index 290800191865..4a62fda7b1ff 100644 --- a/src/AudioUnit/AUEnums.cs +++ b/src/AudioUnit/AUEnums.cs @@ -1185,7 +1185,7 @@ public enum AUAudioUnitBusType : long { /// Indicates an input bus. Input = 1, /// Indicates an output bus. - Output = 2 + Output = 2, } public enum AudioUnitParameterOptions : uint { diff --git a/src/AudioUnit/AUScheduledAudioFileRegion.cs b/src/AudioUnit/AUScheduledAudioFileRegion.cs index 56686932bc70..19147a6ee72f 100644 --- a/src/AudioUnit/AUScheduledAudioFileRegion.cs +++ b/src/AudioUnit/AUScheduledAudioFileRegion.cs @@ -120,7 +120,7 @@ internal ScheduledAudioFileRegion GetAudioFileRegion () AudioFile = AudioFile.Handle, LoopCount = LoopCount, StartFrame = StartFrame, - FramesToPlay = FramesToPlay + FramesToPlay = FramesToPlay, }; if (ptr != IntPtr.Zero) { diff --git a/src/AudioUnit/AudioComponentDescription.cs b/src/AudioUnit/AudioComponentDescription.cs index 0bf56526e7c5..2edfb9b06a93 100644 --- a/src/AudioUnit/AudioComponentDescription.cs +++ b/src/AudioUnit/AudioComponentDescription.cs @@ -125,7 +125,7 @@ public enum AudioTypeOutput { // OSType in AudioComponentDescription #endif Remote = 0x72696f63, // 'rioc' /// To be added. - VoiceProcessingIO = 0x7670696f // 'vpio' + VoiceProcessingIO = 0x7670696f, // 'vpio' } public enum AudioTypeMusicDevice { // OSType in AudioComponentDescription @@ -320,7 +320,7 @@ public enum AudioTypeGenerator { // OSType in AudioComponentDescription public enum AudioComponentManufacturerType : uint // OSType in AudioComponentDescription { /// To be added. - Apple = 0x6170706c // little endian 0x6c707061 //'appl' + Apple = 0x6170706c, // little endian 0x6c707061 //'appl' } [Flags] @@ -335,7 +335,7 @@ public enum AudioComponentFlag // UInt32 in AudioComponentDescription /// To be added. RequiresAsyncInstantiation = 8, /// To be added. - CanLoadInProcess = 0x10 + CanLoadInProcess = 0x10, } #if NET diff --git a/src/AudioUnit/AudioUnit.cs b/src/AudioUnit/AudioUnit.cs index c94208f4eb74..ba72d9e8b62b 100644 --- a/src/AudioUnit/AudioUnit.cs +++ b/src/AudioUnit/AudioUnit.cs @@ -644,7 +644,7 @@ public AudioUnitStatus MakeConnection (AudioUnit sourceAudioUnit, uint sourceOut var auc = new AudioUnitConnection { SourceAudioUnit = sourceAudioUnit.GetHandle (), SourceOutputNumber = sourceOutputNumber, - DestInputNumber = destInputNumber + DestInputNumber = destInputNumber, }; unsafe { diff --git a/src/CFNetwork/CFHTTPMessage.cs b/src/CFNetwork/CFHTTPMessage.cs index 6d62bd33a72d..b22121035edc 100644 --- a/src/CFNetwork/CFHTTPMessage.cs +++ b/src/CFNetwork/CFHTTPMessage.cs @@ -242,7 +242,7 @@ struct CFStreamError { enum CFStreamErrorHTTPAuthentication { TypeUnsupported = -1000, BadUserName = -1001, - BadPassword = -1002 + BadPassword = -1002, } AuthenticationException GetException (CFStreamErrorHTTPAuthentication code) diff --git a/src/CloudKit/Enums.cs b/src/CloudKit/Enums.cs index 9e91fc442302..4edf0a62d57a 100644 --- a/src/CloudKit/Enums.cs +++ b/src/CloudKit/Enums.cs @@ -25,7 +25,7 @@ public enum CKAccountStatus : long { [Native] [Flags] public enum CKApplicationPermissions : ulong { - UserDiscoverability = 1 << 0 + UserDiscoverability = 1 << 0, } // NSInteger -> CKContainer.h @@ -36,7 +36,7 @@ public enum CKApplicationPermissionStatus : long { InitialState = 0, CouldNotComplete = 1, Denied = 2, - Granted = 3 + Granted = 3, } // NSInteger -> CKError.h @@ -91,7 +91,7 @@ public enum CKErrorCode : long { public enum CKRecordSavePolicy : long { SaveIfServerRecordUnchanged = 0, SaveChangedKeys = 1, - SaveAllKeys = 2 + SaveAllKeys = 2, } // NSInteger -> CKNotification.h @@ -113,7 +113,7 @@ public enum CKNotificationType : long { public enum CKQueryNotificationReason : long { RecordCreated = 1, RecordUpdated, - RecordDeleted + RecordDeleted, } // NSUInteger -> CKRecordZone.h @@ -138,7 +138,7 @@ public enum CKRecordZoneCapabilities : ulong { [Native] public enum CKReferenceAction : ulong { None = 0, - DeleteSelf = 1 + DeleteSelf = 1, } // NSInteger -> CKSubscription.h diff --git a/src/Contacts/CNEnums.cs b/src/Contacts/CNEnums.cs index 9d2adc7abcb1..61ef34441ae1 100644 --- a/src/Contacts/CNEnums.cs +++ b/src/Contacts/CNEnums.cs @@ -21,7 +21,7 @@ namespace Contacts { [Native] public enum CNContactType : long { Person, - Organization + Organization, } // NSInteger -> CNContact.h @@ -32,7 +32,7 @@ public enum CNContactSortOrder : long { None, UserDefault, GivenName, - FamilyName + FamilyName, } // NSInteger -> CNContactFormatter.h @@ -41,7 +41,7 @@ public enum CNContactSortOrder : long { [Native] public enum CNContactFormatterStyle : long { FullName, - PhoneticFullName + PhoneticFullName, } // NSInteger -> CNContactFormatter.h @@ -51,7 +51,7 @@ public enum CNContactFormatterStyle : long { public enum CNContactDisplayNameOrder : long { UserDefault, GivenNameFirst, - FamilyNameFirst + FamilyNameFirst, } // NSInteger -> CNContactStore.h @@ -59,7 +59,7 @@ public enum CNContactDisplayNameOrder : long { [MacCatalyst (13, 1)] [Native] public enum CNEntityType : long { - Contacts + Contacts, } // NSInteger -> CNContactStore.h @@ -83,7 +83,7 @@ public enum CNContainerType : long { Unassigned = 0, Local, Exchange, - CardDav + CardDav, } // NSInteger -> CNError.h diff --git a/src/Contacts/CNInstantMessageAddress.cs b/src/Contacts/CNInstantMessageAddress.cs index dc037ab79e7b..22e8d05af85c 100644 --- a/src/Contacts/CNInstantMessageAddress.cs +++ b/src/Contacts/CNInstantMessageAddress.cs @@ -16,7 +16,7 @@ namespace Contacts { // Strong typed Keys to enum public enum CNInstantMessageAddressOption { Username, - Service + Service, } // Strong typed Keys to enum @@ -30,7 +30,7 @@ public enum CNInstantMessageServiceOption { Msn, QQ, Skype, - Yahoo + Yahoo, } public partial class CNInstantMessageAddress { diff --git a/src/Contacts/CNSocialProfile.cs b/src/Contacts/CNSocialProfile.cs index 8b71db128a59..a2fb08c66adf 100644 --- a/src/Contacts/CNSocialProfile.cs +++ b/src/Contacts/CNSocialProfile.cs @@ -18,7 +18,7 @@ public enum CNSocialProfileOption { UrlString, Username, UserIdentifier, - Service + Service, } // Strong typed Keys to enum @@ -31,7 +31,7 @@ public enum CNSocialProfileServiceOption { TencentWeibo, Twitter, Yelp, - GameCenter + GameCenter, } public partial class CNSocialProfile { diff --git a/src/CoreAnimation/CAEnums.cs b/src/CoreAnimation/CAEnums.cs index 1ea4c508506b..a18ed2990aff 100644 --- a/src/CoreAnimation/CAEnums.cs +++ b/src/CoreAnimation/CAEnums.cs @@ -55,7 +55,7 @@ public enum CAEdgeAntialiasingMask : uint { /// Left and right sides of the layer are antialiased. LeftRightEdges = LeftEdge | RightEdge, /// Top and bottom side of the layer are antialiased. - TopBottomEdges = TopEdge | BottomEdge + TopBottomEdges = TopEdge | BottomEdge, } [MacCatalyst (13, 1)] @@ -92,7 +92,7 @@ public enum CAAutoresizingMask : uint { /// To be added. HeightSizable = 1 << 4, /// To be added. - MaxYMargin = 1 << 5 + MaxYMargin = 1 << 5, } // typedef int -> CAConstraintLayoutManager.h diff --git a/src/CoreBluetooth/CBUUID.cs b/src/CoreBluetooth/CBUUID.cs index 00c864df2f70..48d3b7fb6959 100644 --- a/src/CoreBluetooth/CBUUID.cs +++ b/src/CoreBluetooth/CBUUID.cs @@ -41,7 +41,7 @@ public static CBUUID FromPartial (ushort servicePart) { return FromBytes (new [] { (byte)(servicePart >> 8), - (byte)servicePart + (byte)servicePart, }); } diff --git a/src/CoreBluetooth/Enums.cs b/src/CoreBluetooth/Enums.cs index 97bbd7c80f08..c329d77ff136 100644 --- a/src/CoreBluetooth/Enums.cs +++ b/src/CoreBluetooth/Enums.cs @@ -23,7 +23,7 @@ public enum CBManagerState : long { Unsupported, Unauthorized, PoweredOff, - PoweredOn + PoweredOn, } // NSInteger -> CBCentralManager.h @@ -38,7 +38,7 @@ public enum CBCentralManagerState : long { Unsupported = CBManagerState.Unsupported, Unauthorized = CBManagerState.Unauthorized, PoweredOff = CBManagerState.PoweredOff, - PoweredOn = CBManagerState.PoweredOn + PoweredOn = CBManagerState.PoweredOn, } // NSInteger -> CBPeripheralManager.h @@ -53,7 +53,7 @@ public enum CBPeripheralManagerState : long { Unsupported = CBManagerState.Unsupported, Unauthorized = CBManagerState.Unauthorized, PoweredOff = CBManagerState.PoweredOff, - PoweredOn = CBManagerState.PoweredOn + PoweredOn = CBManagerState.PoweredOn, } // NSInteger -> CBPeripheralManager.h @@ -100,7 +100,7 @@ public enum CBCharacteristicProperties : ulong { [MacCatalyst (13, 1)] NotifyEncryptionRequired = 0x100, [MacCatalyst (13, 1)] - IndicateEncryptionRequired = 0x200 + IndicateEncryptionRequired = 0x200, } /// Errors possible during Bluetooth LE transactions. @@ -170,7 +170,7 @@ public enum CBATTError : long { /// To be added. UnsupportedGroupType, /// To be added. - InsufficientResources + InsufficientResources, } // NSInteger -> CBPeripheral.h @@ -179,7 +179,7 @@ public enum CBATTError : long { [Native] public enum CBCharacteristicWriteType : long { WithResponse, - WithoutResponse + WithoutResponse, } // NSUInteger -> CBCharacteristic.h @@ -191,7 +191,7 @@ public enum CBAttributePermissions : ulong { Readable = 1, Writeable = 1 << 1, ReadEncryptionRequired = 1 << 2, - WriteEncryptionRequired = 1 << 3 + WriteEncryptionRequired = 1 << 3, } // NSInteger -> CBPeripheralManager.h @@ -204,7 +204,7 @@ public enum CBPeripheralManagerConnectionLatency : long { /// To be added. Medium, /// To be added. - High + High, } [iOS (13, 0), TV (13, 0)] diff --git a/src/CoreData/Enums.cs b/src/CoreData/Enums.cs index 339f7d132c91..e610d1cc3b89 100644 --- a/src/CoreData/Enums.cs +++ b/src/CoreData/Enums.cs @@ -285,7 +285,7 @@ public enum NSPersistentHistoryResultType : long { Count = 2, TransactionsOnly = 3, ChangesOnly = 4, - TransactionsAndChanges = 5 + TransactionsAndChanges = 5, } [TV (13, 0), iOS (13, 0)] diff --git a/src/CoreFoundation/CFBundle.cs b/src/CoreFoundation/CFBundle.cs index 61029f529c88..ce8999c7d830 100644 --- a/src/CoreFoundation/CFBundle.cs +++ b/src/CoreFoundation/CFBundle.cs @@ -21,7 +21,7 @@ public enum PackageType { /// To be added. Framework, /// To be added. - Bundle + Bundle, } [SupportedOSPlatform ("ios")] diff --git a/src/CoreFoundation/CFMessagePort.cs b/src/CoreFoundation/CFMessagePort.cs index b1a57fffae2c..6cdca83732fb 100644 --- a/src/CoreFoundation/CFMessagePort.cs +++ b/src/CoreFoundation/CFMessagePort.cs @@ -35,7 +35,7 @@ public enum CFMessagePortSendRequestStatus { /// An error occurred. TransportError = -4, /// The port became invalid after the message was sent, but before a response was received. - BecameInvalidError = -5 + BecameInvalidError = -5, } internal class CFMessagePortContext { diff --git a/src/CoreFoundation/CFNetwork.cs b/src/CoreFoundation/CFNetwork.cs index 4a06f35fbe47..49e3d8c77988 100644 --- a/src/CoreFoundation/CFNetwork.cs +++ b/src/CoreFoundation/CFNetwork.cs @@ -193,6 +193,6 @@ public enum CFNetworkErrors { NetServiceTimeout = -72007, NetServiceMissingRequiredConfiguration = -72008, /// To be added. - NetServiceDnsServiceFailure = -73000 + NetServiceDnsServiceFailure = -73000, } } diff --git a/src/CoreFoundation/CFNotificationCenter.cs b/src/CoreFoundation/CFNotificationCenter.cs index 047c5c7c8e42..6c7850e6fb51 100644 --- a/src/CoreFoundation/CFNotificationCenter.cs +++ b/src/CoreFoundation/CFNotificationCenter.cs @@ -32,7 +32,7 @@ public enum CFNotificationSuspensionBehavior : long { /// Notifications are kept around in a queue, and they are all delivered serially when the application returns to the foreground.   Some notifications might be dropped if the queue overflows. Hold = 3, /// The notifications are delivered immediately.  Any pending notifications that might be queued are delivered first. - DeliverImmediately = 4 + DeliverImmediately = 4, } // @@ -140,7 +140,7 @@ public CFNotificationObserverToken AddObserver (string name, INativeObject objec centerHandle = Handle, nameHandle = strHandle, observedObject = objectToObserve.GetHandle (), - listener = notificationHandler + listener = notificationHandler, }; // diff --git a/src/CoreFoundation/CFProxySupport.cs b/src/CoreFoundation/CFProxySupport.cs index 37b6d21edd89..8b85ce90782a 100644 --- a/src/CoreFoundation/CFProxySupport.cs +++ b/src/CoreFoundation/CFProxySupport.cs @@ -54,7 +54,7 @@ public enum CFProxyType { /// An HTTPS proxy. HTTPS, /// A SOCKS proxy. - SOCKS + SOCKS, } [SupportedOSPlatform ("ios")] diff --git a/src/CoreFoundation/CFRunLoop.cs b/src/CoreFoundation/CFRunLoop.cs index 54b41fc3b3e9..f6656b88f062 100644 --- a/src/CoreFoundation/CFRunLoop.cs +++ b/src/CoreFoundation/CFRunLoop.cs @@ -52,7 +52,7 @@ public enum CFRunLoopExitReason : int { /// The number of seconds specified in the call to  elapsed. TimedOut = 3, /// An event from a source was handled, and the developer specified that a single source should be processed on the call to  - HandledSource = 4 + HandledSource = 4, } // CFRunLoop.h diff --git a/src/CoreFoundation/CFSocket.cs b/src/CoreFoundation/CFSocket.cs index e7df9375c2e1..8fe3d234ff36 100644 --- a/src/CoreFoundation/CFSocket.cs +++ b/src/CoreFoundation/CFSocket.cs @@ -57,7 +57,7 @@ public enum CFSocketCallBackType : ulong { /// To be added. ConnectCallBack = 4, /// To be added. - WriteCallBack = 8 + WriteCallBack = 8, } // defined as CFIndex (long [long] = nint) - System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h @@ -68,7 +68,7 @@ public enum CFSocketError : long { /// To be added. Error = -1, /// To be added. - Timeout = -2 + Timeout = -2, } [Flags] @@ -85,7 +85,7 @@ public enum CFSocketFlags { /// To be added. LeaveErrors = 64, /// To be added. - CloseOnInvalidate = 128 + CloseOnInvalidate = 128, } [SupportedOSPlatform ("ios")] diff --git a/src/CoreFoundation/CFStream.cs b/src/CoreFoundation/CFStream.cs index 27210c54502e..063cf5cb39ec 100644 --- a/src/CoreFoundation/CFStream.cs +++ b/src/CoreFoundation/CFStream.cs @@ -58,7 +58,7 @@ public enum CFStreamEventType : ulong { /// An error occurred on the steeam. ErrorOccurred = 8, /// The end of the stream has been reached. - EndEncountered = 16 + EndEncountered = 16, } // NSStream.h @@ -166,7 +166,7 @@ public enum CFStreamStatus : long { /// To be added. Closed, /// To be added. - Error + Error, } [SupportedOSPlatform ("ios")] diff --git a/src/CoreFoundation/CFUrl.cs b/src/CoreFoundation/CFUrl.cs index e3e91e2bcd73..fd19d02a5fb3 100644 --- a/src/CoreFoundation/CFUrl.cs +++ b/src/CoreFoundation/CFUrl.cs @@ -42,7 +42,7 @@ namespace CoreFoundation { public enum CFUrlPathStyle : long { POSIX = 0, HFS = 1, - Windows = 2 + Windows = 2, }; diff --git a/src/CoreFoundation/Dispatch.cs b/src/CoreFoundation/Dispatch.cs index 9ba4dfbe0ebc..e88a1a69b0b8 100644 --- a/src/CoreFoundation/Dispatch.cs +++ b/src/CoreFoundation/Dispatch.cs @@ -48,7 +48,7 @@ public enum DispatchQueuePriority : int { High = 2, Default = 0, Low = -2, - Background = Int16.MinValue + Background = Int16.MinValue, } // dispatch_qos_class_t is defined in usr/include/dispatch/queue.h, but redirects to qos_class_t diff --git a/src/CoreGraphics/CGColorSpace.cs b/src/CoreGraphics/CGColorSpace.cs index 54163367aa75..1b3d172538eb 100644 --- a/src/CoreGraphics/CGColorSpace.cs +++ b/src/CoreGraphics/CGColorSpace.cs @@ -48,7 +48,7 @@ public enum CGColorRenderingIntent { AbsoluteColorimetric, RelativeColorimetric, Perceptual, - Saturation + Saturation, }; // untyped enum -> CGColorSpace.h diff --git a/src/CoreGraphics/CGDisplay.cs b/src/CoreGraphics/CGDisplay.cs index 95d1519b1073..124e1f37a57c 100644 --- a/src/CoreGraphics/CGDisplay.cs +++ b/src/CoreGraphics/CGDisplay.cs @@ -16,7 +16,7 @@ namespace CoreGraphics { #endif public enum CGCaptureOptions : uint { None = 0, - NoFill = 1 << 0 + NoFill = 1 << 0, } #if NET diff --git a/src/CoreGraphics/CGGradient.cs b/src/CoreGraphics/CGGradient.cs index 613d491b1a3e..3122fa1b0024 100644 --- a/src/CoreGraphics/CGGradient.cs +++ b/src/CoreGraphics/CGGradient.cs @@ -47,7 +47,7 @@ namespace CoreGraphics { public enum CGGradientDrawingOptions : uint { None = 0, DrawsBeforeStartLocation = (1 << 0), - DrawsAfterEndLocation = (1 << 1) + DrawsAfterEndLocation = (1 << 1), } #if NET diff --git a/src/CoreGraphics/CGImage.cs b/src/CoreGraphics/CGImage.cs index 6e7f35171f65..4a410740afe0 100644 --- a/src/CoreGraphics/CGImage.cs +++ b/src/CoreGraphics/CGImage.cs @@ -73,7 +73,7 @@ public enum CGWindowListOption : uint { OnScreenAboveWindow = (1 << 1), OnScreenBelowWindow = (1 << 2), IncludingWindow = (1 << 3), - ExcludeDesktopElements = (1 << 4) + ExcludeDesktopElements = (1 << 4), } #endif @@ -86,7 +86,7 @@ public enum CGImageAlphaInfo : uint { First, NoneSkipLast, NoneSkipFirst, - Only + Only, } public enum CGImagePixelFormatInfo : uint { @@ -119,7 +119,7 @@ public enum CGBitmapFlags : uint { ByteOrder16Little = (1 << 12), ByteOrder32Little = (2 << 12), ByteOrder16Big = (3 << 12), - ByteOrder32Big = (4 << 12) + ByteOrder32Big = (4 << 12), } [Flags] diff --git a/src/CoreGraphics/CGImageProperties.cs b/src/CoreGraphics/CGImageProperties.cs index 45cdf9427fa0..c83b37ef05d9 100644 --- a/src/CoreGraphics/CGImageProperties.cs +++ b/src/CoreGraphics/CGImageProperties.cs @@ -45,7 +45,7 @@ public enum CGImageColorModel { RGB, Gray, CMYK, - Lab + Lab, } #if NET diff --git a/src/CoreGraphics/CGPDFPage-2.cs b/src/CoreGraphics/CGPDFPage-2.cs index 62c045252824..1a314cef3571 100644 --- a/src/CoreGraphics/CGPDFPage-2.cs +++ b/src/CoreGraphics/CGPDFPage-2.cs @@ -46,7 +46,7 @@ public enum CGPDFBox { Crop = 1, Bleed = 2, Trim = 3, - Art = 4 + Art = 4, } // CGPDFPage.h diff --git a/src/CoreGraphics/CGPDFStream.cs b/src/CoreGraphics/CGPDFStream.cs index 8200058a9467..bedb5ff1a569 100644 --- a/src/CoreGraphics/CGPDFStream.cs +++ b/src/CoreGraphics/CGPDFStream.cs @@ -46,7 +46,7 @@ namespace CoreGraphics { public enum CGPDFDataFormat { Raw, JPEGEncoded, - JPEG2000 + JPEG2000, }; diff --git a/src/CoreGraphics/CGPath.cs b/src/CoreGraphics/CGPath.cs index 1d0ce2813bb1..b2d5309e45cf 100644 --- a/src/CoreGraphics/CGPath.cs +++ b/src/CoreGraphics/CGPath.cs @@ -51,7 +51,7 @@ public enum CGPathElementType { AddLineToPoint, AddQuadCurveToPoint, AddCurveToPoint, - CloseSubpath + CloseSubpath, } diff --git a/src/CoreGraphics/CGPattern.cs b/src/CoreGraphics/CGPattern.cs index 07a187fd53f3..a3eac97cbdfe 100644 --- a/src/CoreGraphics/CGPattern.cs +++ b/src/CoreGraphics/CGPattern.cs @@ -46,7 +46,7 @@ namespace CoreGraphics { public enum CGPatternTiling { NoDistortion, ConstantSpacingMinimalDistortion, - ConstantSpacing + ConstantSpacing, } // CGPattern.h diff --git a/src/CoreImage/CIDetector.cs b/src/CoreImage/CIDetector.cs index 5f0d204de83a..bdd5d39ebd1c 100644 --- a/src/CoreImage/CIDetector.cs +++ b/src/CoreImage/CIDetector.cs @@ -35,7 +35,7 @@ namespace CoreImage { // convenience enum for CIDetectorAccuracy[High|Low] internal fields in CIDetector (coreimage.cs) public enum FaceDetectorAccuracy { High, - Low + Low, } public partial class CIDetector { @@ -64,7 +64,7 @@ public partial class CIDetector { CIDetectorOptions dopt = new CIDetectorOptions () { Accuracy = accuracy, MinFeatureSize = minFeatureSize, - TrackingEnabled = trackingEnabled + TrackingEnabled = trackingEnabled, }; using (var options = dopt.ToDictionary ()) diff --git a/src/CoreImage/Enums.cs b/src/CoreImage/Enums.cs index 4b5ab1a56943..c63459431c2e 100644 --- a/src/CoreImage/Enums.cs +++ b/src/CoreImage/Enums.cs @@ -42,7 +42,7 @@ public enum CIImageOrientation { LeftTop = 5, RightTop = 6, RightBottom = 7, - LeftBottom = 8 + LeftBottom = 8, } // convenience enum (fields are used) but also a `typedef int` -> CIImage.h @@ -72,7 +72,7 @@ public enum CIFormat { RG8 = 19, RG16 = 20, RGh = 21, - RGf = 22 + RGf = 22, } /// Enumerates the error correction levels for QR codes. diff --git a/src/CoreLocation/CLEnums.cs b/src/CoreLocation/CLEnums.cs index 6b64470c3a42..f9198cf231bf 100644 --- a/src/CoreLocation/CLEnums.cs +++ b/src/CoreLocation/CLEnums.cs @@ -112,7 +112,7 @@ public enum CLDeviceOrientation : uint { /// The device is parallel to the ground and the face is pointing towards the sky. FaceUp, /// The device is parallel to the ground and the face is pointing towards the ground. - FaceDown + FaceDown, } // untyped enum -> CLLocationManager.h diff --git a/src/CoreMedia/CMBufferQueue.cs b/src/CoreMedia/CMBufferQueue.cs index 1388b662744f..17773ae36f4c 100644 --- a/src/CoreMedia/CMBufferQueue.cs +++ b/src/CoreMedia/CMBufferQueue.cs @@ -117,7 +117,7 @@ protected override void Dispose (bool disposing) XisDataReady = isDataReady is not null ? &GetDataReady : null, Xcompare = compare is not null ? &Compare : null, cfStringPtr_dataBecameReadyNotification = dataBecameReadyNotification is null ? IntPtr.Zero : dataBecameReadyNotification.Handle, - XgetSize = getTotalSize is not null ? &GetTotalSize : null + XgetSize = getTotalSize is not null ? &GetTotalSize : null, }; } diff --git a/src/CoreMedia/CMTextMarkupAttributes.cs b/src/CoreMedia/CMTextMarkupAttributes.cs index 736a551fd391..59e7a3fca474 100644 --- a/src/CoreMedia/CMTextMarkupAttributes.cs +++ b/src/CoreMedia/CMTextMarkupAttributes.cs @@ -97,7 +97,7 @@ public TextMarkupColor? ForegroundColor { NSNumber.FromFloat (v.Alpha), NSNumber.FromFloat (v.Red), NSNumber.FromFloat (v.Green), - NSNumber.FromFloat (v.Blue) + NSNumber.FromFloat (v.Blue), }); } else { RemoveValue (CMTextMarkupAttributesKeys.ForegroundColorARGB); @@ -120,7 +120,7 @@ public TextMarkupColor? BackgroundColor { NSNumber.FromFloat (v.Alpha), NSNumber.FromFloat (v.Red), NSNumber.FromFloat (v.Green), - NSNumber.FromFloat (v.Blue) + NSNumber.FromFloat (v.Blue), }); } else { RemoveValue (CMTextMarkupAttributesKeys.BackgroundColorARGB); diff --git a/src/CoreMedia/CMTime.cs b/src/CoreMedia/CMTime.cs index 2c50d81c3db3..70e63a01bb79 100644 --- a/src/CoreMedia/CMTime.cs +++ b/src/CoreMedia/CMTime.cs @@ -31,7 +31,7 @@ public enum Flags : uint { PositiveInfinity = 4, NegativeInfinity = 8, Indefinite = 16, - ImpliedValueFlagsMask = PositiveInfinity | NegativeInfinity | Indefinite + ImpliedValueFlagsMask = PositiveInfinity | NegativeInfinity | Indefinite, } #if !COREBUILD diff --git a/src/CoreMidi/MidiThruConnectionParams.cs b/src/CoreMidi/MidiThruConnectionParams.cs index 805e3d53664c..c605bcc5b492 100644 --- a/src/CoreMidi/MidiThruConnectionParams.cs +++ b/src/CoreMidi/MidiThruConnectionParams.cs @@ -38,7 +38,7 @@ public enum MidiTransformType : ushort { /// To be added. MaxValue = 11, /// To be added. - MapValue = 12 + MapValue = 12, } public enum MidiTransformControlType : byte { @@ -53,7 +53,7 @@ public enum MidiTransformControlType : byte { /// To be added. SevenBitNRpn = 4, /// To be added. - FourteenBitNRpn = 5 + FourteenBitNRpn = 5, } #if NET diff --git a/src/CoreServices/FSEvents.cs b/src/CoreServices/FSEvents.cs index e0a55724352d..3129c1a34bdf 100644 --- a/src/CoreServices/FSEvents.cs +++ b/src/CoreServices/FSEvents.cs @@ -350,7 +350,7 @@ public FSEventStream (CFAllocator? allocator, NSArray pathsToWatch, NSPathsToWatch = pathsToWatch ?? throw new ArgumentNullException (nameof (pathsToWatch)), SinceWhenId = sinceWhenId, Latency = latency, - Flags = flags + Flags = flags, }) { } @@ -359,7 +359,7 @@ public FSEventStream (string [] pathsToWatch, TimeSpan latency, FSEventStreamCre : this (new () { PathsToWatch = pathsToWatch ?? throw new ArgumentNullException (nameof (pathsToWatch)), Latency = latency, - Flags = flags + Flags = flags, }) { } diff --git a/src/CoreServices/LaunchServices.cs b/src/CoreServices/LaunchServices.cs index d19a890f7423..58f834c38c10 100644 --- a/src/CoreServices/LaunchServices.cs +++ b/src/CoreServices/LaunchServices.cs @@ -38,14 +38,14 @@ public enum LSRoles/*Mask*/ : uint /* always 32-bit uint */ Viewer = 2, Editor = 4, Shell = 8, - All = 0xffffffff + All = 0xffffffff, } [Flags] public enum LSAcceptanceFlags : uint /* always 32-bit uint */ { Default = 1, - AllowLoginUI = 2 + AllowLoginUI = 2, } public enum LSResult { @@ -81,7 +81,7 @@ public enum LSResult { NoLaunchPermission = -10826, NoExecutable = -10827, NoClassicEnvironment = -10828, - MultipleSessionsNotSupported = -10829 + MultipleSessionsNotSupported = -10829, } #if NET diff --git a/src/CoreSpotlight/CSEnums.cs b/src/CoreSpotlight/CSEnums.cs index fbc8b52f498e..5683695d2d72 100644 --- a/src/CoreSpotlight/CSEnums.cs +++ b/src/CoreSpotlight/CSEnums.cs @@ -52,7 +52,7 @@ public enum CSSearchQueryErrorCode : long { /// Indicates that the query was invalid. InvalidQuery = -2002, /// Indicates that the search was canceled. - Cancelled = -2003 + Cancelled = -2003, } /// Enumerates file protection options in calls to M:CoreSpotlight.CSSearchableIndex.FromName*. diff --git a/src/CoreText/CTBaselineClass.cs b/src/CoreText/CTBaselineClass.cs index c1497959f7fc..cfe49e9840e0 100644 --- a/src/CoreText/CTBaselineClass.cs +++ b/src/CoreText/CTBaselineClass.cs @@ -104,7 +104,7 @@ public enum CTBaselineFont { /// To be added. Reference, /// To be added. - Original + Original, } static partial class CTBaselineFontID { diff --git a/src/CoreText/CTFont.cs b/src/CoreText/CTFont.cs index 26e9685a01a0..062ec16c8ff6 100644 --- a/src/CoreText/CTFont.cs +++ b/src/CoreText/CTFont.cs @@ -391,7 +391,7 @@ public enum FontFeatureGroup { /// To be added. UpperCase = 38, /// To be added. - CJKRomanSpacing = 103 + CJKRomanSpacing = 103, } #if NET @@ -643,7 +643,7 @@ public enum Selector { /// To be added. AllTypeFeaturesOn = 0, /// To be added. - AllTypeFeaturesOff = 1 + AllTypeFeaturesOff = 1, } public CTFontFeatureAllTypographicFeatures (NSDictionary dictionary) @@ -712,7 +712,7 @@ public enum Selector { /// To be added. HistoricalLigaturesOn = 20, /// To be added. - HistoricalLigaturesOff = 21 + HistoricalLigaturesOff = 21, } public CTFontFeatureLigatures (NSDictionary dictionary) @@ -754,7 +754,7 @@ public enum Selector { /// To be added. InitialCaps = 4, /// To be added. - InitialCapsAndSmallCaps = 5 + InitialCapsAndSmallCaps = 5, } public CTFontFeatureLetterCase (NSDictionary dictionary) @@ -785,7 +785,7 @@ public enum Selector { /// To be added. PartiallyConnected = 1, /// To be added. - Cursive = 2 + Cursive = 2, } public CTFontFeatureCursiveConnection (NSDictionary dictionary) @@ -814,7 +814,7 @@ public enum Selector { /// To be added. SubstituteVerticalFormsOn = 0, /// To be added. - SubstituteVerticalFormsOff = 1 + SubstituteVerticalFormsOff = 1, } public CTFontFeatureVerticalSubstitutionConnection (NSDictionary dictionary) @@ -843,7 +843,7 @@ public enum Selector { /// To be added. LinguisticRearrangementOn = 0, /// To be added. - LinguisticRearrangementOff = 1 + LinguisticRearrangementOff = 1, } public CTFontFeatureLinguisticRearrangementConnection (NSDictionary dictionary) @@ -876,7 +876,7 @@ public enum Selector { /// To be added. ThirdWidthNumbers = 2, /// To be added. - QuarterWidthNumbers = 3 + QuarterWidthNumbers = 3, } public CTFontFeatureNumberSpacing (NSDictionary dictionary) @@ -921,7 +921,7 @@ public enum Selector { /// To be added. NonFinalSwashesOn = 8, /// To be added. - NonFinalSwashesOff = 9 + NonFinalSwashesOff = 9, } public CTFontFeatureSmartSwash (NSDictionary dictionary) @@ -952,7 +952,7 @@ public enum Selector { /// To be added. HideDiacritics = 1, /// To be added. - DecomposeDiacritics = 2 + DecomposeDiacritics = 2, } public CTFontFeatureDiacritics (NSDictionary dictionary) @@ -987,7 +987,7 @@ public enum Selector { /// To be added. Ordinals = 3, /// To be added. - ScientificInferiors = 4 + ScientificInferiors = 4, } public CTFontFeatureVerticalPosition (NSDictionary dictionary) @@ -1018,7 +1018,7 @@ public enum Selector { /// To be added. VerticalFractions = 1, /// To be added. - DiagonalFractions = 2 + DiagonalFractions = 2, } public CTFontFeatureFractions (NSDictionary dictionary) @@ -1047,7 +1047,7 @@ public enum Selector { /// To be added. PreventOverlapOn = 0, /// To be added. - PreventOverlapOff = 1 + PreventOverlapOff = 1, } public CTFontFeatureOverlappingCharacters (NSDictionary dictionary) @@ -1096,7 +1096,7 @@ public enum Selector { /// To be added. PeriodsToEllipsisOn = 10, /// To be added. - PeriodsToEllipsisOff = 11 + PeriodsToEllipsisOff = 11, } public CTFontFeatureTypographicExtras (NSDictionary dictionary) @@ -1145,7 +1145,7 @@ public enum Selector { /// To be added. MathematicalGreekOn = 10, /// To be added. - MathematicalGreekOff = 11 + MathematicalGreekOff = 11, } public CTFontFeatureMathematicalExtras (NSDictionary dictionary) @@ -1184,7 +1184,7 @@ public enum Selector { /// To be added. InternationalSymbols = 5, /// To be added. - MathSymbols = 6 + MathSymbols = 6, } public CTFontFeatureOrnamentSets (NSDictionary dictionary) @@ -1246,7 +1246,7 @@ public enum Selector { /// To be added. DesignLevel4 = 3, /// To be added. - DesignLevel5 = 4 + DesignLevel5 = 4, } public CTFontFeatureDesignComplexity (NSDictionary dictionary) @@ -1283,7 +1283,7 @@ public enum Selector { /// To be added. TitlingCaps = 4, /// To be added. - TallCaps = 5 + TallCaps = 5, } public CTFontFeatureStyleOptions (NSDictionary dictionary) @@ -1338,7 +1338,7 @@ public enum Selector { /// To be added. NLCCharacters = 13, /// To be added. - TraditionalNamesCharacters = 14 + TraditionalNamesCharacters = 14, } public CTFontFeatureCharacterShape (NSDictionary dictionary) @@ -1367,7 +1367,7 @@ public enum Selector { /// To be added. LowerCaseNumbers = 0, /// To be added. - UpperCaseNumbers = 1 + UpperCaseNumbers = 1, } public CTFontFeatureNumberCase (NSDictionary dictionary) @@ -1406,7 +1406,7 @@ public enum Selector { /// To be added. AltProportionalText = 5, /// To be added. - AltHalfWidthText = 6 + AltHalfWidthText = 6, } public CTFontFeatureTextSpacing (NSDictionary dictionary) @@ -1451,7 +1451,7 @@ public enum Selector { /// To be added. HanjaToHangulAltTwo = 8, /// To be added. - HanjaToHangulAltThree = 9 + HanjaToHangulAltThree = 9, } public CTFontFeatureTransliteration (NSDictionary dictionary) @@ -1498,7 +1498,7 @@ public enum Selector { /// To be added. InvertedBoxAnnotation = 9, /// To be added. - InvertedRoundedBoxAnnotation = 10 + InvertedRoundedBoxAnnotation = 10, } public CTFontFeatureAnnotation (NSDictionary dictionary) @@ -1527,7 +1527,7 @@ public enum Selector { /// To be added. FullWidthKana = 0, /// To be added. - ProportionalKana = 1 + ProportionalKana = 1, } public CTFontFeatureKanaSpacing (NSDictionary dictionary) @@ -1558,7 +1558,7 @@ public enum Selector { /// To be added. ProportionalIdeographs = 1, /// To be added. - HalfWidthIdeographs = 2 + HalfWidthIdeographs = 2, } public CTFontFeatureIdeographicSpacing (NSDictionary dictionary) @@ -1595,7 +1595,7 @@ public enum Selector { /// To be added. TranscodingCompositionOn = 4, /// To be added. - TranscodingCompositionOff = 5 + TranscodingCompositionOff = 5, } public CTFontFeatureUnicodeDecomposition (NSDictionary dictionary) @@ -1650,7 +1650,7 @@ public enum Selector { /// To be added. RubyKanaOn = 2, /// To be added. - RubyKanaOff = 3 + RubyKanaOff = 3, } public CTFontFeatureRubyKana (NSDictionary dictionary) @@ -1687,7 +1687,7 @@ public enum Selector { /// To be added. CJKSymbolAltFour = 4, /// To be added. - CJKSymbolAltFive = 5 + CJKSymbolAltFive = 5, } public CTFontFeatureCJKSymbolAlternatives (NSDictionary dictionary) @@ -1724,7 +1724,7 @@ public enum Selector { /// To be added. IdeographicAltFour = 4, /// To be added. - IdeographicAltFive = 5 + IdeographicAltFive = 5, } public CTFontFeatureIdeographicAlternatives (NSDictionary dictionary) @@ -1753,7 +1753,7 @@ public enum Selector { /// To be added. CJKVerticalRomanCentered = 0, /// To be added. - CJKVerticalRomanHBaseline = 1 + CJKVerticalRomanHBaseline = 1, } public CTFontFeatureCJKVerticalRomanPlacement (NSDictionary dictionary) @@ -1808,7 +1808,7 @@ public enum Selector { /// To be added. CJKItalicRomanOn = 2, /// To be added. - CJKItalicRomanOff = 3 + CJKItalicRomanOff = 3, } public CTFontFeatureItalicCJKRoman (NSDictionary dictionary) @@ -1841,7 +1841,7 @@ public enum Selector { /// To be added. CaseSensitiveSpacingOn = 2, /// To be added. - CaseSensitiveSpacingOff = 3 + CaseSensitiveSpacingOff = 3, } public CTFontFeatureCaseSensitiveLayout (NSDictionary dictionary) @@ -1874,7 +1874,7 @@ public enum Selector { /// To be added. AlternateVertKanaOn = 2, /// To be added. - AlternateVertKanaOff = 3 + AlternateVertKanaOff = 3, } public CTFontFeatureAlternateKana (NSDictionary dictionary) @@ -1981,7 +1981,7 @@ public enum Selector { /// To be added. StylisticAltTwentyOn = 40, /// To be added. - StylisticAltTwentyOff = 41 + StylisticAltTwentyOff = 41, } public CTFontFeatureStylisticAlternatives (NSDictionary dictionary) @@ -2018,7 +2018,7 @@ public enum Selector { /// To be added. ContextualSwashAlternatesOn = 4, /// To be added. - ContextualSwashAlternatesOff = 5 + ContextualSwashAlternatesOff = 5, } public CTFontFeatureContextualAlternates (NSDictionary dictionary) @@ -2049,7 +2049,7 @@ public enum Selector { /// To be added. LowerCaseSmallCaps = 1, /// To be added. - LowerCasePetiteCaps = 2 + LowerCasePetiteCaps = 2, } public CTFontFeatureLowerCase (NSDictionary dictionary) @@ -2080,7 +2080,7 @@ public enum Selector { /// To be added. UpperCaseSmallCaps = 1, /// To be added. - UpperCasePetiteCaps = 2 + UpperCasePetiteCaps = 2, } public CTFontFeatureUpperCase (NSDictionary dictionary) @@ -2113,7 +2113,7 @@ public enum Selector { /// To be added. DefaultCJKRoman = 2, /// To be added. - FullWidthCJKRoman = 3 + FullWidthCJKRoman = 3, } public CTFontFeatureCJKRomanSpacing (NSDictionary dictionary) diff --git a/src/CoreText/CTFontDescriptor.cs b/src/CoreText/CTFontDescriptor.cs index 061e1c71ca99..89befa6d13e4 100644 --- a/src/CoreText/CTFontDescriptor.cs +++ b/src/CoreText/CTFontDescriptor.cs @@ -107,7 +107,7 @@ public enum CTFontDescriptorMatchingState : uint { /// To be added. Matched, /// To be added. - FailedWithError + FailedWithError, } #if !NET diff --git a/src/CoreText/CTFontTrait.cs b/src/CoreText/CTFontTrait.cs index 2091c37d3ebf..eb0faf04d3e3 100644 --- a/src/CoreText/CTFontTrait.cs +++ b/src/CoreText/CTFontTrait.cs @@ -87,7 +87,7 @@ public enum CTFontSymbolicTraits : uint { Composite = (1 << 14), /// Mask used to extract trait values. - Mask = ((uint) 15 << CTFontTraits.ClassMaskShift) + Mask = ((uint) 15 << CTFontTraits.ClassMaskShift), } // defined as uint32_t - /System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h diff --git a/src/CoreText/CTFrame.cs b/src/CoreText/CTFrame.cs index 65e0139a1180..17bf1147a030 100644 --- a/src/CoreText/CTFrame.cs +++ b/src/CoreText/CTFrame.cs @@ -56,7 +56,7 @@ public enum CTFramePathFillRule { /// To be added. EvenOdd, /// To be added. - WindingNumber + WindingNumber, } #if !NET diff --git a/src/CoreText/CTLine.cs b/src/CoreText/CTLine.cs index 6a509f526d6e..78f9a1ac00bf 100644 --- a/src/CoreText/CTLine.cs +++ b/src/CoreText/CTLine.cs @@ -50,7 +50,7 @@ public enum CTLineTruncation : uint { /// To be added. End = 1, /// To be added. - Middle = 2 + Middle = 2, } // defined as CFOptionFlags (unsigned long [long] = nuint) - /System/Library/Frameworks/CoreText.framework/Headers/CTLine.h diff --git a/src/CoreText/CTParagraphStyle.cs b/src/CoreText/CTParagraphStyle.cs index 1bdef4a72905..6991bdbe6888 100644 --- a/src/CoreText/CTParagraphStyle.cs +++ b/src/CoreText/CTParagraphStyle.cs @@ -89,7 +89,7 @@ public enum CTWritingDirection : sbyte { /// To be added. Embedding = (0 << 1), /// To be added. - Override = (1 << 1) + Override = (1 << 1), } // defined as uint32_t - /System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h diff --git a/src/CoreText/CTRun.cs b/src/CoreText/CTRun.cs index 43156481006d..6bb44424184a 100644 --- a/src/CoreText/CTRun.cs +++ b/src/CoreText/CTRun.cs @@ -52,7 +52,7 @@ public enum CTRunStatus { /// To be added. NonMonotonic = (1 << 1), /// To be added. - HasNonIdentityMatrix = (1 << 2) + HasNonIdentityMatrix = (1 << 2), } #if NET diff --git a/src/CoreVideo/CVEnums.cs b/src/CoreVideo/CVEnums.cs index 32e8e9d96180..e1baaa253253 100644 --- a/src/CoreVideo/CVEnums.cs +++ b/src/CoreVideo/CVEnums.cs @@ -118,7 +118,7 @@ public enum CVTimeStampFlags : ulong { [MacCatalyst (13, 1)] public enum CVSMPTETimeFlags : uint { Valid = (1 << 0), - Running = (1 << 1) + Running = (1 << 1), } /// An enumeration whose values specify SMPTE timecode types. diff --git a/src/CoreWlan/Enums.cs b/src/CoreWlan/Enums.cs index 5484931b6164..67d5f3c8c5f2 100644 --- a/src/CoreWlan/Enums.cs +++ b/src/CoreWlan/Enums.cs @@ -157,6 +157,6 @@ public enum CWEventType : long { [Deprecated (PlatformName.MacOSX, 11, 0)] RangingReportEvent = 10, - Unknown = long.MaxValue + Unknown = long.MaxValue, } } diff --git a/src/Darwin/KernelNotification.cs b/src/Darwin/KernelNotification.cs index 96ebcc87bc17..288cd26c21ce 100644 --- a/src/Darwin/KernelNotification.cs +++ b/src/Darwin/KernelNotification.cs @@ -86,7 +86,7 @@ public enum EventFilter : short { MachPort = -8, FS = -9, User = -10, - VM = -11 + VM = -11, } [Flags] diff --git a/src/ExternalAccessory/EAEnums.cs b/src/ExternalAccessory/EAEnums.cs index 764b32d6f6ec..aeb1dc05383c 100644 --- a/src/ExternalAccessory/EAEnums.cs +++ b/src/ExternalAccessory/EAEnums.cs @@ -64,6 +64,6 @@ public enum EABluetoothAccessoryPickerError : long { /// To be added. Cancelled, /// To be added. - Failed + Failed, } } diff --git a/src/FinderSync/Enums.cs b/src/FinderSync/Enums.cs index a0ec8d609cc4..af25fddac2e1 100644 --- a/src/FinderSync/Enums.cs +++ b/src/FinderSync/Enums.cs @@ -9,6 +9,6 @@ public enum FIMenuKind : ulong { ContextualMenuForItems = 0, ContextualMenuForContainer = 1, ContextualMenuForSidebar = 2, - ToolbarItemMenu = 3 + ToolbarItemMenu = 3, } } diff --git a/src/Foundation/EnumDesktop.cs b/src/Foundation/EnumDesktop.cs index 68c9a588ee4d..03e1f8a29c28 100644 --- a/src/Foundation/EnumDesktop.cs +++ b/src/Foundation/EnumDesktop.cs @@ -34,7 +34,7 @@ internal enum NSAttributedStringDataType { RTF, RTFD, HTML, - DocFormat + DocFormat, } // NSTask.h:typedef NS_ENUM(NSInteger, NSTaskTerminationReason) @@ -42,7 +42,7 @@ internal enum NSAttributedStringDataType { [NoiOS, NoTV, NoMacCatalyst] public enum NSTaskTerminationReason : long { Exit = 1, - UncaughtSignal = 2 + UncaughtSignal = 2, } // The following constants where taken from MonoDevelop Carbon.cs MacInterop file @@ -93,7 +93,7 @@ public enum NSUserNotificationActivationType : long { ContentsClicked = 1, ActionButtonClicked = 2, Replied = 3, - AdditionalActionClicked = 4 + AdditionalActionClicked = 4, } [NoiOS, NoTV, NoMacCatalyst] @@ -110,6 +110,6 @@ public enum NSAppleEventSendOptions : ulong { DontRecord = 0x00001000, // kAEDontRecord, DontExecute = 0x00002000, // kAEDontExecute, DontAnnotate = 0x00010000, // kAEDoNotAutomaticallyAddAnnotationsToEvent, - DefaultOptions = WaitForReply | CanInteract + DefaultOptions = WaitForReply | CanInteract, } } diff --git a/src/Foundation/Enums.cs b/src/Foundation/Enums.cs index 7da524b4cc53..ff5a4d4fa331 100644 --- a/src/Foundation/Enums.cs +++ b/src/Foundation/Enums.cs @@ -31,7 +31,7 @@ public enum NSDocumentType { /// An enumeration that specifies how a document is being viewed. Used with the property. public enum NSDocumentViewMode { Normal, - PageLayout + PageLayout, } @@ -61,7 +61,7 @@ public enum NSRunLoopMode { #endif // If it is not part of these enumerations [Field (null)] - Other = 1000 + Other = 1000, } /// Enumerates download status values. diff --git a/src/Foundation/NSHost.cs b/src/Foundation/NSHost.cs index 879e2fbf496b..f46b5ce69e54 100644 --- a/src/Foundation/NSHost.cs +++ b/src/Foundation/NSHost.cs @@ -110,7 +110,7 @@ public IPHostEntry ToIPHostEntry () return new IPHostEntry { HostName = Name!, AddressList = Addresses, - Aliases = Names + Aliases = Names, }; } diff --git a/src/Foundation/NSUrlSessionHandler.cs b/src/Foundation/NSUrlSessionHandler.cs index 817116cb8863..b50ec5fa8640 100644 --- a/src/Foundation/NSUrlSessionHandler.cs +++ b/src/Foundation/NSUrlSessionHandler.cs @@ -117,7 +117,7 @@ public partial class NSUrlSessionHandler : HttpMessageHandler { private CookieContainer? cookieContainer; readonly Dictionary headerSeparators = new Dictionary { ["User-Agent"] = " ", - ["Server"] = " " + ["Server"] = " ", }; NSUrlSession session; @@ -867,7 +867,7 @@ void DidReceiveResponseImpl (NSUrlSession session, NSUrlSessionDataTask dataTask // NB: The double cast is because of a Xamarin compiler bug var httpResponse = new HttpResponseMessage ((HttpStatusCode) status) { Content = content, - RequestMessage = inflight.Request + RequestMessage = inflight.Request, }; var wasRedirected = dataTask.CurrentRequest?.Url?.AbsoluteString != dataTask.OriginalRequest?.Url?.AbsoluteString; if (wasRedirected) diff --git a/src/Foundation/NSUserDefaults.cs b/src/Foundation/NSUserDefaults.cs index e37c63206e5d..d507450d3ba7 100644 --- a/src/Foundation/NSUserDefaults.cs +++ b/src/Foundation/NSUserDefaults.cs @@ -7,7 +7,7 @@ namespace Foundation { public enum NSUserDefaultsType { UserName, - SuiteName + SuiteName, } public partial class NSUserDefaults { diff --git a/src/HealthKit/Enums.cs b/src/HealthKit/Enums.cs index d39ba8bd969e..0b4a03154bf3 100644 --- a/src/HealthKit/Enums.cs +++ b/src/HealthKit/Enums.cs @@ -13,7 +13,7 @@ public enum HKUpdateFrequency : long { Immediate = 1, Hourly, Daily, - Weekly + Weekly, } // NSInteger -> HKDefines.h @@ -24,7 +24,7 @@ public enum HKUpdateFrequency : long { public enum HKAuthorizationStatus : long { NotDetermined = 0, SharingDenied, - SharingAuthorized + SharingAuthorized, } // NSInteger -> HKDefines.h @@ -37,7 +37,7 @@ public enum HKBiologicalSex : long { Female, Male, [MacCatalyst (13, 1)] - Other + Other, } // NSInteger -> HKDefines.h @@ -54,7 +54,7 @@ public enum HKBloodType : long { ABPositive, ABNegative, OPositive, - ONegative + ONegative, } // NSInteger -> HKMetadata.h @@ -74,7 +74,7 @@ public enum HKBodyTemperatureSensorLocation : long { Toe, EarDrum, TemporalArtery, - Forehead + Forehead, } // NSInteger -> HKMetadata.h @@ -89,7 +89,7 @@ public enum HKHeartRateSensorLocation : long { Finger, Hand, EarLobe, - Foot + Foot, } // NSInteger -> HKObjectType.h @@ -140,7 +140,7 @@ public enum HKCategoryValueSleepAnalysis : long { public enum HKQueryOptions : ulong { None = 0, StrictStartDate = 1 << 0, - StrictEndDate = 1 << 1 + StrictEndDate = 1 << 1, } // NSUInteger -> HKStatistics.h @@ -313,7 +313,7 @@ public enum HKWorkoutActivityType : ulong { [MacCatalyst (17, 0), Mac (14, 0), iOS (17, 0), NoTV] UnderwaterDiving, [MacCatalyst (13, 1)] - Other = 3000 + Other = 3000, } /// Enumerates events that can occur during a workout (Pause, Resume). @@ -342,7 +342,7 @@ public enum HKWorkoutEventType : long { [MacCatalyst (13, 1)] [Native] public enum HKCategoryValue : long { - NotApplicable = 0 + NotApplicable = 0, } /// Enumerates the user's cervical mucus quality. @@ -355,7 +355,7 @@ public enum HKCategoryValueCervicalMucusQuality : long { Sticky, Creamy, Watery, - EggWhite + EggWhite, } /// Enumerates the amount of menstrual flow. @@ -411,7 +411,7 @@ public enum HKCategoryValueOvulationTestResult : long { [Native] public enum HKCategoryValueAppleStandHour : long { Stood = 0, - Idle + Idle, } [iOS (13, 0)] @@ -433,7 +433,7 @@ public enum HKFitzpatrickSkinType : long { III, IV, V, - VI + VI, } /// Enumerates constants that describe wheelchair use. diff --git a/src/HomeKit/HMEnums.cs b/src/HomeKit/HMEnums.cs index bcf07ecb3780..3c26eb9b2451 100644 --- a/src/HomeKit/HMEnums.cs +++ b/src/HomeKit/HMEnums.cs @@ -882,7 +882,7 @@ public enum HMCharacteristicMetadataFormat { UInt32, UInt64, Data, - Tlv8 + Tlv8, } /// Enumerates the states that a door can be in. @@ -893,7 +893,7 @@ public enum HMCharacteristicValueDoorState : long { Closed, Opening, Closing, - Stopped + Stopped, } /// Enumerates the states that an indoor climate control unit can be in. @@ -903,7 +903,7 @@ public enum HMCharacteristicValueHeatingCooling : long { Off = 0, Heat, Cool, - Auto + Auto, } /// Enumerates rotation directions. @@ -911,7 +911,7 @@ public enum HMCharacteristicValueHeatingCooling : long { [Native] public enum HMCharacteristicValueRotationDirection : long { Clockwise = 0, - CounterClockwise + CounterClockwise, } /// Enumerates two common temperature measurement systems. @@ -919,7 +919,7 @@ public enum HMCharacteristicValueRotationDirection : long { [Native] public enum HMCharacteristicValueTemperatureUnit : long { Celsius = 0, - Fahrenheit + Fahrenheit, } /// Enumerates the states that a lock can be in. @@ -929,7 +929,7 @@ public enum HMCharacteristicValueLockMechanismState : long { Unsecured = 0, Secured, Jammed, - Unknown + Unknown, } /// Enumerates values that describe the last known action that was taken on a lock. @@ -955,7 +955,7 @@ public enum HMCharacteristicValueLockMechanism : long { [Native ("HMCharacteristicValueAirParticulateSize")] public enum HMCharacteristicValueAirParticulate : long { Size2_5 = 0, - Size10 + Size10, } /// Enumerates the states of a security system. @@ -966,7 +966,7 @@ public enum HMCharacteristicValueCurrentSecuritySystemState : long { AwayArm, NightArm, Disarmed, - Triggered + Triggered, } /// Enumerates the states of an object that opens and closes. @@ -975,7 +975,7 @@ public enum HMCharacteristicValueCurrentSecuritySystemState : long { public enum HMCharacteristicValuePositionState : long { Closing = 0, Opening, - Stopped + Stopped, } /// Enumerates the status of a security system. @@ -985,7 +985,7 @@ public enum HMCharacteristicValueTargetSecuritySystemState : long { StayArm = 0, AwayArm, NightArm, - Disarm + Disarm, } /// Enumerates the valid battery status values. @@ -993,7 +993,7 @@ public enum HMCharacteristicValueTargetSecuritySystemState : long { [Native] public enum HMCharacteristicValueBatteryStatus : long { Normal = 0, - Low + Low, } /// Enumerates the state of a jammed device. @@ -1001,7 +1001,7 @@ public enum HMCharacteristicValueBatteryStatus : long { [Native] public enum HMCharacteristicValueJammedStatus : long { None = 0, - Jammed + Jammed, } /// Enumerates the states of a device that detected tampering. @@ -1009,7 +1009,7 @@ public enum HMCharacteristicValueJammedStatus : long { [Native] public enum HMCharacteristicValueTamperedStatus : long { None = 0, - Tampered + Tampered, } /// Enumerates the values of a device that detects leaks. @@ -1017,7 +1017,7 @@ public enum HMCharacteristicValueTamperedStatus : long { [Native] public enum HMCharacteristicValueLeakStatus : long { None = 0, - Detected + Detected, } /// Enumerates the state of a smoke detector. @@ -1025,7 +1025,7 @@ public enum HMCharacteristicValueLeakStatus : long { [Native] public enum HMCharacteristicValueSmokeDetectionStatus : long { None = 0, - Detected + Detected, } /// Enumerates the state of battery charging. @@ -1051,7 +1051,7 @@ public enum HMCharacteristicValueContactState : long { [Native] public enum HMCharacteristicValueStatusFault : long { NoFault = 0, - GeneralFault + GeneralFault, } /// Enumerates detection values. @@ -1059,7 +1059,7 @@ public enum HMCharacteristicValueStatusFault : long { [Native] public enum HMCharacteristicValueCarbonMonoxideDetectionStatus : long { NotDetected = 0, - Detected + Detected, } /// Enumerates detection values. @@ -1067,7 +1067,7 @@ public enum HMCharacteristicValueCarbonMonoxideDetectionStatus : long { [Native] public enum HMCharacteristicValueCarbonDioxideDetectionStatus : long { NotDetected = 0, - Detected + Detected, } /// Enumerates values for occupancy. @@ -1075,7 +1075,7 @@ public enum HMCharacteristicValueCarbonDioxideDetectionStatus : long { [Native] public enum HMCharacteristicValueOccupancyStatus : long { NotOccupied = 0, - Occupied + Occupied, } /// Enumerates the security system alarm type. @@ -1083,7 +1083,7 @@ public enum HMCharacteristicValueOccupancyStatus : long { [Native] public enum HMCharacteristicValueSecuritySystemAlarmType : long { NoAlarm = 0, - Unknown + Unknown, } // conveniance enum (ObjC uses NSString) @@ -1258,7 +1258,7 @@ public enum HMCharacteristicValueAirQuality : long { Good, Fair, Inferior, - Poor + Poor, } /// Enumerates the states of an . @@ -1268,7 +1268,7 @@ public enum HMCameraStreamState : ulong { Starting = 1, Streaming = 2, Stopping = 3, - NotStreaming = 4 + NotStreaming = 4, } /// Settings for camera's with audio devices. Used with . @@ -1277,7 +1277,7 @@ public enum HMCameraStreamState : ulong { public enum HMCameraAudioStreamSetting : ulong { Muted = 1, IncomingAudioAllowed = 2, - BidirectionalAudioAllowed = 3 + BidirectionalAudioAllowed = 3, } /// Enumerates the possible values of a that may either be locked or unlocked. diff --git a/src/ImageIO/Enums.cs b/src/ImageIO/Enums.cs index a48324807a05..ba1cbfd42b40 100644 --- a/src/ImageIO/Enums.cs +++ b/src/ImageIO/Enums.cs @@ -48,7 +48,7 @@ public enum CGImageMetadataType { /// To be added. AlternateText = 5, /// To be added. - Structure = 6 + Structure = 6, } /// Enumerates orientation values. @@ -60,7 +60,7 @@ public enum CGImagePropertyOrientation { LeftMirrored, Right, RightMirrored, - Left + Left, } // untyped enum / #defines @@ -74,7 +74,7 @@ public enum CGImagePropertyPngFilters { Sub = 0x10, Up = 0x20, Average = 0x40, - Paeth = 0x80 + Paeth = 0x80, } [iOS (13, 0), TV (13, 0)] diff --git a/src/ImageKit/Enums.cs b/src/ImageKit/Enums.cs index e55c50adc7d1..0af1e2e2c721 100644 --- a/src/ImageKit/Enums.cs +++ b/src/ImageKit/Enums.cs @@ -39,27 +39,27 @@ namespace ImageKit { public enum IKCameraDeviceViewDisplayMode : long { None = -1, Table = 0, - Icon = 1 + Icon = 1, }; [Native] public enum IKCameraDeviceViewTransferMode : long { File = 0, - Memory = 1 + Memory = 1, }; [Native] public enum IKDeviceBrowserViewDisplayMode : long { Table = 0, Outline = 1, - Icon = 2 + Icon = 2, }; // Untyped enum in ObjC public enum IKImageBrowserCellState : int { NoImage = 0, Invalid = 1, - Ready = 2 + Ready = 2, }; [Flags] @@ -69,39 +69,39 @@ public enum IKCellsStyle : ulong { Shadowed = 1 << 0, Outlined = 1 << 1, Titled = 1 << 2, - Subtitled = 1 << 3 + Subtitled = 1 << 3, }; //used as a value for the IKImageBrowserGroupStyleKey in the NSDictionary that defines a group in IKImageBrowserView [Native] public enum IKGroupStyle : long { Bezel = 0, - Disclosure = 1 + Disclosure = 1, }; // Untyped enum in ObjC public enum IKImageBrowserDropOperation : int { On = 0, - Before = 1 + Before = 1, }; [Native] public enum IKScannerDeviceViewTransferMode : long { File = 0, - Memory = 1 + Memory = 1, }; [Native] public enum IKScannerDeviceViewDisplayMode : long { None = -1, Simple = 0, - Advanced = 1 + Advanced = 1, }; [Flags] public enum IKFilterBrowserPanelStyleMask : uint { Normal = 0, - Textured = 1 << 8 + Textured = 1 << 8, // Other NSWindow Style Mask bit settings do not apply to this panel } } diff --git a/src/JavaScriptCore/Enums.cs b/src/JavaScriptCore/Enums.cs index e7b3be699232..75b307bdfa54 100644 --- a/src/JavaScriptCore/Enums.cs +++ b/src/JavaScriptCore/Enums.cs @@ -34,7 +34,7 @@ public enum JSPropertyAttributes : uint { None = 0, ReadOnly = 1 << 1, DontEnum = 1 << 2, - DontDelete = 1 << 3 + DontDelete = 1 << 3, } // typedef unsigned -> JSObjectRef.h @@ -42,7 +42,7 @@ public enum JSPropertyAttributes : uint { [Flags] public enum JSClassAttributes : uint { None = 0, - NoAutomaticPrototype = 1 << 1 + NoAutomaticPrototype = 1 << 1, } [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] diff --git a/src/MediaLibrary/Enums.cs b/src/MediaLibrary/Enums.cs index 4046807efbb3..d7f22c61da22 100644 --- a/src/MediaLibrary/Enums.cs +++ b/src/MediaLibrary/Enums.cs @@ -28,13 +28,13 @@ namespace MediaLibrary { public enum MLMediaSourceType : ulong { Audio = 1 << 0, Image = 1 << 1, - Movie = 1 << 2 + Movie = 1 << 2, } [Native] public enum MLMediaType : ulong { Audio = 1 << 0, Image = 1 << 1, - Movie = 1 << 2 + Movie = 1 << 2, } } diff --git a/src/MediaPlayer/MediaPlayer.cs b/src/MediaPlayer/MediaPlayer.cs index 864b09072166..596bbf6143af 100644 --- a/src/MediaPlayer/MediaPlayer.cs +++ b/src/MediaPlayer/MediaPlayer.cs @@ -329,7 +329,7 @@ public enum MPRemoteCommandHandlerStatus : long { [Native] public enum MPSeekCommandEventType : ulong { BeginSeeking, - EndSeeking + EndSeeking, } [MacCatalyst (13, 1)] diff --git a/src/MediaToolbox/MTAudioProcessingTap.cs b/src/MediaToolbox/MTAudioProcessingTap.cs index 88eb3b8ea75f..5fe19d65464d 100644 --- a/src/MediaToolbox/MTAudioProcessingTap.cs +++ b/src/MediaToolbox/MTAudioProcessingTap.cs @@ -348,7 +348,7 @@ public enum MTAudioProcessingTapError { /// To be added. None = 0, /// To be added. - InvalidArgument = -12780 + InvalidArgument = -12780, } public class MTAudioProcessingTapCallbacks { diff --git a/src/Metal/MTLEnums.cs b/src/Metal/MTLEnums.cs index 2933c7a7ab25..a96d1909f59f 100644 --- a/src/Metal/MTLEnums.cs +++ b/src/Metal/MTLEnums.cs @@ -1779,7 +1779,7 @@ public enum MTLIOCompressionMethod : long { Lzfse = 1, Lz4 = 2, Lzma = 3, - LzBitmap = 4 + LzBitmap = 4, } [Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0), TV (16, 0)] diff --git a/src/MultipeerConnectivity/Enums.cs b/src/MultipeerConnectivity/Enums.cs index 29a6d28f7be6..fa9f632f7132 100644 --- a/src/MultipeerConnectivity/Enums.cs +++ b/src/MultipeerConnectivity/Enums.cs @@ -19,7 +19,7 @@ public enum MCSessionSendDataMode : long { /// Indicates guaranteed delivery. Reliable, /// Indicates non-guaranteed delivery. - Unreliable + Unreliable, } // NSInteger -> MCSession.h @@ -32,7 +32,7 @@ public enum MCSessionState : long { /// Indicates that the is in the process of connecting. Connecting, /// Indicates that the is connected. - Connected + Connected, } // NSInteger -> MCSession.h @@ -45,7 +45,7 @@ public enum MCEncryptionPreference : long { /// Connections should be encrypted. Required = 1, /// A preference for unencrypted connections. - None = 2 + None = 2, } // NSInteger -> MCError.h @@ -67,6 +67,6 @@ public enum MCError : long { /// The relevant operation was cancelled. Cancelled, /// Indicates that Multipeer Connectivity is not available. - Unavailable + Unavailable, } } diff --git a/src/NetworkExtension/NEEnums.cs b/src/NetworkExtension/NEEnums.cs index 65cf695b6625..00230080e8a2 100644 --- a/src/NetworkExtension/NEEnums.cs +++ b/src/NetworkExtension/NEEnums.cs @@ -11,7 +11,7 @@ public enum NEVpnError : long { ConnectionFailed = 3, ConfigurationStale = 4, ConfigurationReadWriteFailed = 5, - ConfigurationUnknown = 6 + ConfigurationUnknown = 6, } [MacCatalyst (13, 1)] @@ -22,7 +22,7 @@ public enum NEVpnStatus : long { Connecting = 2, Connected = 3, Reasserting = 4, - Disconnecting = 5 + Disconnecting = 5, } [MacCatalyst (13, 1)] @@ -30,7 +30,7 @@ public enum NEVpnStatus : long { public enum NEVpnIkeAuthenticationMethod : long { None = 0, Certificate = 1, - SharedSecret = 2 + SharedSecret = 2, } [MacCatalyst (13, 1)] @@ -60,7 +60,7 @@ public enum NEVpnIke2IntegrityAlgorithm : long { SHA160 = 2, SHA256 = 3, SHA384 = 4, - SHA512 = 5 + SHA512 = 5, } [MacCatalyst (13, 1)] @@ -69,7 +69,7 @@ public enum NEVpnIke2DeadPeerDetectionRate : long { None = 0, Low = 1, Medium = 2, - High = 3 + High = 3, } [MacCatalyst (13, 1)] @@ -104,7 +104,7 @@ public enum NEOnDemandRuleAction : long { Connect = 1, Disconnect = 2, EvaluateConnection = 3, - Ignore = 4 + Ignore = 4, } [MacCatalyst (13, 1)] @@ -123,7 +123,7 @@ public enum NEOnDemandRuleInterfaceType : long { [Native] public enum NEEvaluateConnectionRuleAction : long { ConnectIfNeeded = 1, - NeverConnect = 2 + NeverConnect = 2, } [MacCatalyst (13, 1)] @@ -164,7 +164,7 @@ public enum NETunnelProviderError : long { None = 0, Invalid = 1, Canceled = 2, - Failed = 3 + Failed = 3, } [MacCatalyst (13, 1)] @@ -223,7 +223,7 @@ public enum NWPathStatus : long { Invalid = 0, Satisfied = 1, Unsatisfied = 2, - Satisfiable = 3 + Satisfiable = 3, } [Deprecated (PlatformName.iOS, 18, 0, message: "Use 'Network.NWConnectionState' instead.")] @@ -238,7 +238,7 @@ public enum NWTcpConnectionState : long { Waiting = 2, Connected = 3, Disconnected = 4, - Cancelled = 5 + Cancelled = 5, } [Deprecated (PlatformName.iOS, 18, 0, message: "Use 'Network.NWConnectionState' instead.")] @@ -253,7 +253,7 @@ public enum NWUdpSessionState : long { Preparing = 2, Ready = 3, Failed = 4, - Cancelled = 5 + Cancelled = 5, } /// Enumerates tunnel routing methods. @@ -281,7 +281,7 @@ public enum NEHotspotHelperCommandType : long { Authenticate = 3, PresentUI = 4, Maintain = 5, - Logoff = 6 + Logoff = 6, } /// Enumerates values that describe how likely a Hotspot Helper will be able to handle a network. @@ -292,7 +292,7 @@ public enum NEHotspotHelperCommandType : long { public enum NEHotspotHelperConfidence : long { None = 0, Low = 1, - High = 2 + High = 2, } /// Enumerates Hotspot Helper command response results. @@ -307,7 +307,7 @@ public enum NEHotspotHelperResult : long { CommandNotRecognized = 3, AuthenticationRequired = 4, UnsupportedNetwork = 5, - TemporaryFailure = 6 + TemporaryFailure = 6, } #endif diff --git a/src/NotificationCenter/NCEnums.cs b/src/NotificationCenter/NCEnums.cs index d8524f6f0471..cbd09ee4efd4 100644 --- a/src/NotificationCenter/NCEnums.cs +++ b/src/NotificationCenter/NCEnums.cs @@ -17,7 +17,7 @@ namespace NotificationCenter { public enum NCUpdateResult : ulong { NewData, NoData, - Failed + Failed, } /// Enumerates widget display modes. @@ -26,6 +26,6 @@ public enum NCUpdateResult : ulong { [Native] public enum NCWidgetDisplayMode : long { Compact, - Expanded + Expanded, } } diff --git a/src/ObjCRuntime/Dlfcn.cs b/src/ObjCRuntime/Dlfcn.cs index 79d1882da40e..252f63d65b70 100644 --- a/src/ObjCRuntime/Dlfcn.cs +++ b/src/ObjCRuntime/Dlfcn.cs @@ -76,7 +76,7 @@ public enum RTLD { /// Search for the symbol starts with the image that called dlsym. If it is not found, the search continues as if Next was used. Self = -3, /// Only searches for symbol in the main executable. - MainOnly = -5 + MainOnly = -5, } [Flags] diff --git a/src/ObjCRuntime/LinkWithAttribute.cs b/src/ObjCRuntime/LinkWithAttribute.cs index 841207632997..fedf3121b037 100644 --- a/src/ObjCRuntime/LinkWithAttribute.cs +++ b/src/ObjCRuntime/LinkWithAttribute.cs @@ -48,7 +48,7 @@ public enum LinkTarget : int { /// A flag that signifies that the native library supports the Simulator (x86-64 architecture). Simulator64 = 64, /// A flag that signifies that the native library supports the Simulator (x86-64 architecture). - x86_64 = Simulator64 + x86_64 = Simulator64, } public enum DlsymOption { diff --git a/src/ObjCRuntime/PlatformAvailability.cs b/src/ObjCRuntime/PlatformAvailability.cs index 9f455bfdcd26..70e31429cc8b 100644 --- a/src/ObjCRuntime/PlatformAvailability.cs +++ b/src/ObjCRuntime/PlatformAvailability.cs @@ -101,7 +101,7 @@ public enum Platform : ulong { iOS_Arch32 = 0x0000000001000000, iOS_Arch64 = 0x0000000002000000, - iOS_Arch = 0x00000000ff000000 + iOS_Arch = 0x00000000ff000000, } [Obsolete ("Use [Introduced|Deprecated|Obsoleted|Unavailable] attributes with PlatformName.")] diff --git a/src/ObjCRuntime/Runtime.cs b/src/ObjCRuntime/Runtime.cs index 8cb67a37b50d..7255e04bedb7 100644 --- a/src/ObjCRuntime/Runtime.cs +++ b/src/ObjCRuntime/Runtime.cs @@ -467,7 +467,7 @@ static bool OnAssemblyRegistration (AssemblyName assembly_name) if (AssemblyRegistration is not null) { var args = new AssemblyRegistrationEventArgs { Register = true, - AssemblyName = assembly_name + AssemblyName = assembly_name, }; AssemblyRegistration (null, args); return args.Register; @@ -2385,7 +2385,8 @@ internal static string ToFourCCString (int value) (char) (byte) (value >> 24), (char) (byte) (value >> 16), (char) (byte) (value >> 8), - (char) (byte) value }); + (char) (byte) value, + }); } // Retain the input if it's either an NSObject or a NativeObject. diff --git a/src/ObjCRuntime/Runtime.iOS.cs b/src/ObjCRuntime/Runtime.iOS.cs index 80258f98a3e1..19410fad7b99 100644 --- a/src/ObjCRuntime/Runtime.iOS.cs +++ b/src/ObjCRuntime/Runtime.iOS.cs @@ -165,7 +165,7 @@ public enum Arch { /// Running on a physical device. DEVICE, /// Running on the desktop simulator. - SIMULATOR + SIMULATOR, } #endif } diff --git a/src/OpenGL/CGLEnums.cs b/src/OpenGL/CGLEnums.cs index b92d244fbd5a..fcf7a40bb3cf 100644 --- a/src/OpenGL/CGLEnums.cs +++ b/src/OpenGL/CGLEnums.cs @@ -53,7 +53,7 @@ public enum CGLErrorCode : uint { BadAddress = 10014, /* invalid pointer */ BadCodeModule = 10015, /* invalid code module */ BadAlloc = 10016, /* invalid memory allocation */ - BadConnection = 10017 /* invalid CoreGraphics connection */ + BadConnection = 10017, /* invalid CoreGraphics connection */ } @@ -100,7 +100,7 @@ public enum CGLPixelFormatAttribute : uint { RemotePixelBuffer = 91, AllowOfflineRenderers = 96, AcceleratedCompute = 97, - VirtualScreenCount = 128 + VirtualScreenCount = 128, } } diff --git a/src/PdfKit/Enums.cs b/src/PdfKit/Enums.cs index 8891eaa02046..f24b9abeecf3 100644 --- a/src/PdfKit/Enums.cs +++ b/src/PdfKit/Enums.cs @@ -62,7 +62,7 @@ public enum PdfActionNamedName : long { /// Indicates an action that zooms in. ZoomIn = 10, /// Indicates an action that zooms out. - ZoomOut = 11 + ZoomOut = 11, } [Native] @@ -71,7 +71,7 @@ public enum PdfWidgetControlType : long { Unknown = -1, PushButton = 0, RadioButton = 1, - CheckBox = 2 + CheckBox = 2, } [Native] @@ -88,7 +88,7 @@ public enum PdfLineStyle : long { /// Indicates an open arrow line ending glyph. OpenArrow = 4, /// Indicates a solid triangular line ending glyph. - ClosedArrow = 5 + ClosedArrow = 5, } [Native] @@ -112,7 +112,7 @@ public enum PdfTextAnnotationIconType : long { Help = 3, NewParagraph = 4, Paragraph = 5, - Insert = 6 + Insert = 6, } [Native] @@ -127,7 +127,7 @@ public enum PdfBorderStyle : long { /// Indicates an inset effect. Inset = 3, /// Indicates the annotation will be underlined. - Underline = 4 + Underline = 4, } /// Enumerates print scaling behaviors. @@ -138,7 +138,7 @@ public enum PdfBorderStyle : long { public enum PdfPrintScalingMode : long { None = 0, ToFit = 1, - DownToFit = 2 + DownToFit = 2, } [Native] @@ -149,7 +149,7 @@ public enum PdfDocumentPermissions : long { /// To be added. User = 1, /// To be added. - Owner = 2 + Owner = 2, } [Native] @@ -164,7 +164,7 @@ public enum PdfDisplayBox : long { /// Indicates a box around intended finish boundaries. Trim = 3, /// Indicates a rectangle around the boundaries of a page's content for display. - Art = 4 + Art = 4, } [Native] @@ -177,7 +177,7 @@ public enum PdfDisplayMode : long { /// Indicates that two pages are displayed side by side. TwoUp = 2, /// Indicates that pages are displayed in a continuously scrolling double column. - TwoUpContinuous = 3 + TwoUpContinuous = 3, } [Flags] diff --git a/src/Photos/Enums.cs b/src/Photos/Enums.cs index 6a90ee0e4492..71f29e4e7960 100644 --- a/src/Photos/Enums.cs +++ b/src/Photos/Enums.cs @@ -10,7 +10,7 @@ namespace Photos { public enum PHImageContentMode : long { AspectFit = 0, AspectFill = 1, - Default = AspectFit + Default = AspectFit, } // NSInteger -> PHImageManager.h @@ -20,7 +20,7 @@ public enum PHImageContentMode : long { public enum PHImageRequestOptionsVersion : long { Current = 0, Unadjusted, - Original + Original, } // NSInteger -> PHImageManager.h @@ -30,7 +30,7 @@ public enum PHImageRequestOptionsVersion : long { public enum PHImageRequestOptionsDeliveryMode : long { Opportunistic = 0, HighQualityFormat = 1, - FastFormat = 2 + FastFormat = 2, } // NSInteger -> PHImageManager.h @@ -40,7 +40,7 @@ public enum PHImageRequestOptionsDeliveryMode : long { public enum PHImageRequestOptionsResizeMode : long { None = 0, Fast, - Exact + Exact, } // NSInteger -> PHImageManager.h @@ -49,7 +49,7 @@ public enum PHImageRequestOptionsResizeMode : long { [Native] public enum PHVideoRequestOptionsVersion : long { Current = 0, - Original + Original, } // NSInteger -> PHImageManager.h @@ -60,7 +60,7 @@ public enum PHVideoRequestOptionsDeliveryMode : long { Automatic = 0, HighQualityFormat = 1, MediumQualityFormat = 2, - FastFormat = 3 + FastFormat = 3, } // NSInteger -> PhotosTypes.h @@ -74,7 +74,7 @@ public enum PHCollectionListType : long { [Deprecated (PlatformName.MacCatalyst, 13, 1)] MomentList = 1, Folder = 2, - SmartFolder = 3 + SmartFolder = 3, } /// Enumerates values that indicate the subtype of the collection. @@ -113,7 +113,7 @@ public enum PHCollectionEditOperation : long { CreateContent = 4, RearrangeContent = 5, Delete = 6, - Rename = 7 + Rename = 7, } // NSInteger -> PhotosTypes.h @@ -128,7 +128,7 @@ public enum PHAssetCollectionType : long { [Deprecated (PlatformName.TvOS, 13, 0)] [Unavailable (PlatformName.MacOSX)] [Deprecated (PlatformName.MacCatalyst, 13, 1)] - Moment = 3 + Moment = 3, } // NSInteger -> PhotosTypes.h @@ -176,7 +176,7 @@ public enum PHAssetCollectionSubtype : long { [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] SmartAlbumSpatial = 219, - Any = Int64.MaxValue + Any = Int64.MaxValue, } // NSUInteger -> PhotosTypes.h @@ -187,7 +187,7 @@ public enum PHAssetEditOperation : long { None = 0, Delete = 1, Content = 2, - Properties = 3 + Properties = 3, } // NSInteger -> PhotosTypes.h @@ -198,7 +198,7 @@ public enum PHAssetMediaType : long { Unknown = 0, Image = 1, Video = 2, - Audio = 3 + Audio = 3, } // NSUInteger -> PhotosTypes.h @@ -232,7 +232,7 @@ public enum PHAssetMediaSubtype : ulong { public enum PHAssetBurstSelectionType : ulong { None = 0, AutoPick = (1 << 0), - UserPick = (1 << 1) + UserPick = (1 << 1), } /// Enumerates the current authorization allowed by the application user. @@ -285,7 +285,7 @@ public enum PHAssetSourceType : ulong { None = 0, UserLibrary = (1 << 0), CloudShared = (1 << 1), - iTunesSynced = (1 << 2) + iTunesSynced = (1 << 2), } /// Enumerates Live Photo frame types. @@ -293,7 +293,7 @@ public enum PHAssetSourceType : ulong { [Native] public enum PHLivePhotoFrameType : long { Photo, - Video + Video, } [MacCatalyst (13, 1)] diff --git a/src/PhotosUI/PHEnums.cs b/src/PhotosUI/PHEnums.cs index 5673e478f07b..612fcd9b026a 100644 --- a/src/PhotosUI/PHEnums.cs +++ b/src/PhotosUI/PHEnums.cs @@ -10,7 +10,7 @@ namespace PhotosUI { public enum PHLivePhotoViewPlaybackStyle : long { Undefined = 0, Full, - Hint + Hint, } #if MONOMAC diff --git a/src/PrintCore/Defs.cs b/src/PrintCore/Defs.cs index d221d05f3117..be4d10ec1976 100644 --- a/src/PrintCore/Defs.cs +++ b/src/PrintCore/Defs.cs @@ -146,21 +146,21 @@ public enum PMStatusCode { public enum PMPrinterState : System.UInt16 { Idle = 3, Processing = 4, - Stopped = 5 + Stopped = 5, } public enum PMDuplexMode : System.UInt32 { None = 1, NoTumble = 2, Tumble = 3, - SimplexTumble = 4 + SimplexTumble = 4, } public enum PMOrientation : System.UInt16 { Portrait = 1, Landscape = 2, ReversePortrait = 3, - ReverseLandscape = 4 + ReverseLandscape = 4, } #if NET diff --git a/src/ReplayKit/RPEnums.cs b/src/ReplayKit/RPEnums.cs index 22d4aedd261d..d2f373bce4a3 100644 --- a/src/ReplayKit/RPEnums.cs +++ b/src/ReplayKit/RPEnums.cs @@ -60,7 +60,7 @@ public enum RPRecordingError : long { [Native] public enum RPPreviewViewControllerMode : long { Preview, - Share + Share, } [Native] @@ -68,7 +68,7 @@ public enum RPPreviewViewControllerMode : long { public enum RPSampleBufferType : long { Video = 1, AudioApp, - AudioMic + AudioMic, } /// Enumerates camera locations on the device. diff --git a/src/SafariServices/SSEnums.cs b/src/SafariServices/SSEnums.cs index 39aef61ea51c..5fdab0b31e7c 100644 --- a/src/SafariServices/SSEnums.cs +++ b/src/SafariServices/SSEnums.cs @@ -22,7 +22,7 @@ namespace SafariServices { [Native ("SSReadingListErrorCode")] [ErrorDomain ("SSReadingListErrorDomain")] public enum SSReadingListError : long { - UrlSchemeNotAllowed = 1 + UrlSchemeNotAllowed = 1, } [NoMac] @@ -35,7 +35,7 @@ public enum SFContentBlockerErrorCode : long { Ok = 0, NoExtensionFound = 1, NoAttachmentFound = 2, - LoadingInterrupted = 3 + LoadingInterrupted = 3, } /// Enumerates errors that that Safari can encounter when working with content blockers or app extensions. @@ -46,7 +46,7 @@ public enum SFErrorCode : long { Ok = 0, NoExtensionFound = 1, NoAttachmentFound = 2, - LoadingInterrupted = 3 + LoadingInterrupted = 3, } [NoMac] diff --git a/src/SceneKit/SCNPhysicsShape.cs b/src/SceneKit/SCNPhysicsShape.cs index 08a45a11a123..031a795490a9 100644 --- a/src/SceneKit/SCNPhysicsShape.cs +++ b/src/SceneKit/SCNPhysicsShape.cs @@ -58,7 +58,7 @@ public static SCNPhysicsShape Create (SCNGeometry geometry, return Create (geometry, new SCNPhysicsShapeOptions { ShapeType = shapeType, KeepAsCompound = keepAsCompound, - Scale = scale + Scale = scale, }.ToDictionary ()); } @@ -75,7 +75,7 @@ public static SCNPhysicsShape Create (SCNNode node, return Create (node, new SCNPhysicsShapeOptions { ShapeType = shapeType, KeepAsCompound = keepAsCompound, - Scale = scale + Scale = scale, }.ToDictionary ()); } diff --git a/src/ScriptingBridge/Enums.cs b/src/ScriptingBridge/Enums.cs index d83576b2045c..96ca759565a9 100644 --- a/src/ScriptingBridge/Enums.cs +++ b/src/ScriptingBridge/Enums.cs @@ -38,7 +38,7 @@ public enum AESendMode : int { CanSwitchLayer = 0x00000040, DontRecord = 0x00001000, DontExecute = 0x00002000, - ProcessNonReplyEvents = 0x00008000 + ProcessNonReplyEvents = 0x00008000, } // LaunchServices.framework/Headers/LSOpen.h:typedef OptionBits LSLaunchFlags; @@ -62,7 +62,7 @@ public enum LSLaunchFlags : uint { LaunchNewInstance = 0x00080000, LaunchAndHide = 0x00100000, LaunchAndHideOthers = 0x00200000, - LaunchHasUntrustedContents = 0x00400000 + LaunchHasUntrustedContents = 0x00400000, } } diff --git a/src/Security/Enums.cs b/src/Security/Enums.cs index 5db43f766fcd..18e6cc6cde54 100644 --- a/src/Security/Enums.cs +++ b/src/Security/Enums.cs @@ -481,7 +481,7 @@ public enum SecAuthenticationUI { Fail, [Field ("kSecUseAuthenticationUISkip")] - Skip + Skip, } /// Enumeration defining valid options for . @@ -500,7 +500,7 @@ public enum SecKeyOperationType : long { Verify = 1, Encrypt = 2, Decrypt = 3, - KeyExchange = 4 + KeyExchange = 4, } // untyped enum in Security.framework/Headers/SecPolicy.h but the API use CFOptionFlags diff --git a/src/Security/SecureTransport.cs b/src/Security/SecureTransport.cs index 01ce6e936ae2..2387c23b97a1 100644 --- a/src/Security/SecureTransport.cs +++ b/src/Security/SecureTransport.cs @@ -85,7 +85,7 @@ public enum TlsCipherSuite : ushort { EcdheEcdsaWithChacha20Poly1305Sha256 = 52393, Aes128GcmSha256 = 4865, Aes256GcmSha384 = 4866, - Chacha20Poly1305Sha256 = 4867 + Chacha20Poly1305Sha256 = 4867, } [TV (13, 0), iOS (13, 0)] diff --git a/src/SpriteKit/Enums.cs b/src/SpriteKit/Enums.cs index e916499ffd04..a78958efe2fb 100644 --- a/src/SpriteKit/Enums.cs +++ b/src/SpriteKit/Enums.cs @@ -18,7 +18,7 @@ namespace SpriteKit { public enum SKInterpolationMode : long { Linear = 1, Spline = 2, - Step = 3 + Step = 3, } // NSInteger -> SKKeyframeSequence.h @@ -26,7 +26,7 @@ public enum SKInterpolationMode : long { [Native] public enum SKRepeatMode : long { Clamp = 1, - Loop = 2 + Loop = 2, } // NSInteger -> SKAction.h @@ -40,7 +40,7 @@ public enum SKActionTimingMode : long { /// Ease the animation out. EaseOut = 2, /// Ease the animation in and out. - EaseInEaseOut = 3 + EaseInEaseOut = 3, } // NSInteger -> SKLabelNode.h @@ -51,7 +51,7 @@ public enum SKLabelVerticalAlignmentMode : long { Baseline = 0, Center = 1, Top = 2, - Bottom = 3 + Bottom = 3, } // NSInteger -> SKLabelNode.h @@ -60,7 +60,7 @@ public enum SKLabelVerticalAlignmentMode : long { public enum SKLabelHorizontalAlignmentMode : long { Center = 0, Left = 1, - Right = 2 + Right = 2, } // NSInteger -> SKNode.h @@ -84,7 +84,7 @@ public enum SKSceneScaleMode : long { Fill = 0, AspectFill = 1, AspectFit = 2, - ResizeFill = 3 + ResizeFill = 3, } // NSInteger -> SKTexture.h @@ -92,7 +92,7 @@ public enum SKSceneScaleMode : long { [Native] public enum SKTextureFilteringMode : long { Nearest = 0, - Linear = 1 + Linear = 1, } // NSInteger -> SKTransition.h @@ -102,7 +102,7 @@ public enum SKTransitionDirection : long { Up = 0, Down = 1, Right = 2, - Left = 3 + Left = 3, } /// Contains values that describe the data with which an was initialized. diff --git a/src/StoreKit/Enums.cs b/src/StoreKit/Enums.cs index 1b9f9aded092..931286e6006d 100644 --- a/src/StoreKit/Enums.cs +++ b/src/StoreKit/Enums.cs @@ -102,7 +102,7 @@ public enum SKCloudServiceCapability : ulong { MusicCatalogPlayback = 1 << 0, [MacCatalyst (13, 1)] MusicCatalogSubscriptionEligible = 1 << 1, - AddToCloudMusicLibrary = 1 << 8 + AddToCloudMusicLibrary = 1 << 8, } /// Enumerates visiblity settings for a promoted product. diff --git a/src/SystemConfiguration/NetworkReachability.cs b/src/SystemConfiguration/NetworkReachability.cs index 721fb920e9d9..cfc762834299 100644 --- a/src/SystemConfiguration/NetworkReachability.cs +++ b/src/SystemConfiguration/NetworkReachability.cs @@ -52,7 +52,7 @@ public enum NetworkReachabilityFlags { #endif IsWWAN = 1 << 18, /// The connection will happen automatically (alias for ConnectionOnTraffic). - ConnectionAutomatic = ConnectionOnTraffic + ConnectionAutomatic = ConnectionOnTraffic, } // http://developer.apple.com/library/ios/#documentation/SystemConfiguration/Reference/SCNetworkReachabilityRef/Reference/reference.html diff --git a/src/SystemConfiguration/StatusCode.cs b/src/SystemConfiguration/StatusCode.cs index cc08666a5072..1cb7f015354b 100644 --- a/src/SystemConfiguration/StatusCode.cs +++ b/src/SystemConfiguration/StatusCode.cs @@ -57,6 +57,6 @@ public enum StatusCode { /// Network service for connection is unavailable. ConnectionNoService = 5001, /// To be added. - ConnectionIgnore = 5002 + ConnectionIgnore = 5002, } } diff --git a/src/TVServices/TVEnums.cs b/src/TVServices/TVEnums.cs index dbdb5a110f90..54e5378c074d 100644 --- a/src/TVServices/TVEnums.cs +++ b/src/TVServices/TVEnums.cs @@ -19,13 +19,13 @@ public enum TVContentItemImageShape : long { Sdtv, Hdtv, Wide, - ExtraWide + ExtraWide, } [Native] public enum TVTopShelfContentStyle : long { Inset = 1, - Sectioned = 2 + Sectioned = 2, } [Native] diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index b0d52cff6f3c..9bc79321ba62 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -921,7 +921,7 @@ public enum UIActionSheetStyle : long { Automatic = -1, Default = UIBarStyle.Default, BlackTranslucent = 2, // UIBarStyle.BlackTranslucent, - BlackOpaque = 1 // UIBarStyle.BlackOpaque, + BlackOpaque = 1, // UIBarStyle.BlackOpaque, } // NSInteger -> UIApplication.h diff --git a/src/VideoToolbox/VTCompressionSession.cs b/src/VideoToolbox/VTCompressionSession.cs index 83dd6febe765..4df10d12739b 100644 --- a/src/VideoToolbox/VTCompressionSession.cs +++ b/src/VideoToolbox/VTCompressionSession.cs @@ -199,7 +199,7 @@ unsafe extern static VTStatus VTCompressionSessionCreate ( if (result == VTStatus.Ok && ret != IntPtr.Zero) return new VTCompressionSession (ret, true) { - callbackHandle = callbackHandle + callbackHandle = callbackHandle, }; if (callbackHandle.IsAllocated) diff --git a/src/VideoToolbox/VTDecompressionSession.cs b/src/VideoToolbox/VTDecompressionSession.cs index 802d6abc3795..30704da48ae1 100644 --- a/src/VideoToolbox/VTDecompressionSession.cs +++ b/src/VideoToolbox/VTDecompressionSession.cs @@ -236,7 +236,7 @@ public static VTDecompressionSession Create (CMVideoFormatDescription formatDesc var callbackHandle = GCHandle.Alloc (outputCallback); var callbackStruct = new VTDecompressionOutputCallbackRecord () { Proc = cback, - DecompressionOutputRefCon = GCHandle.ToIntPtr (callbackHandle) + DecompressionOutputRefCon = GCHandle.ToIntPtr (callbackHandle), }; IntPtr ret; @@ -251,7 +251,7 @@ public static VTDecompressionSession Create (CMVideoFormatDescription formatDesc if (result == VTStatus.Ok && ret != IntPtr.Zero) return new VTDecompressionSession (ret, true) { - callbackHandle = callbackHandle + callbackHandle = callbackHandle, }; callbackHandle.Free (); diff --git a/src/VideoToolbox/VTDefs.cs b/src/VideoToolbox/VTDefs.cs index 8d102f125c74..6d11742f2499 100644 --- a/src/VideoToolbox/VTDefs.cs +++ b/src/VideoToolbox/VTDefs.cs @@ -112,14 +112,14 @@ public enum VTEncodeInfoFlags : uint { /// To be added. Asynchronous = 1 << 0, /// To be added. - FrameDropped = 1 << 1 + FrameDropped = 1 << 1, } // uint32_t -> VTCompressionSession.h /// Flags to control encoder in multi pass compression sessions [Flags] public enum VTCompressionSessionOptionFlags : uint { - BeginFinalPass = 1 << 0 + BeginFinalPass = 1 << 0, } // Strongly Typed VTProfileLevelKey @@ -239,7 +239,7 @@ public enum VTH264EntropyMode { /// To be added. Cavlc, /// To be added. - Cabac + Cabac, } // Strongly Typed kVTCompressionPropertyKey_FieldCount @@ -248,7 +248,7 @@ public enum VTFieldCount { /// To be added. Progressive = 1, /// To be added. - Interlaced = 2 + Interlaced = 2, } // Strongly Typed kVTCompressionPropertyKey_FieldDetail @@ -263,7 +263,7 @@ public enum VTFieldDetail { /// To be added. SpatialFirstLineEarly, /// To be added. - SpatialFirstLineLate + SpatialFirstLineLate, } // Strongly Typed kVTCompressionPropertyKey_ColorPrimaries @@ -278,7 +278,7 @@ public enum VTColorPrimaries { /// To be added. SmpteC, /// To be added. - P22 + P22, } // Strongly Typed kVTCompressionPropertyKey_TransferFunction @@ -287,7 +287,7 @@ public enum VTTransferFunction { Unset, ItuR7092, Smpte240M1955, - UseGamma + UseGamma, } // Strongly Typed kVTCompressionPropertyKey_YCbCrMatrix @@ -296,7 +296,7 @@ public enum VTYCbCrMatrix { Unset, ItuR7092, ItuR6014, - Smpte240M1955 + Smpte240M1955, } // Strongly Typed kVTDecompressionPropertyKey_FieldMode @@ -313,7 +313,7 @@ public enum VTFieldMode { /// To be added. SingleField, /// To be added. - DeinterlaceFields + DeinterlaceFields, } // Strongly Typed kVTDecompressionPropertyKey_DeinterlaceMode @@ -321,7 +321,7 @@ public enum VTFieldMode { public enum VTDeinterlaceMode { Unset, VerticalFilter, - Temporal + Temporal, } // Strongly Typed kVTDecompressionPropertyKey_OnlyTheseFrames @@ -336,7 +336,7 @@ public enum VTOnlyTheseFrames { /// To be added. IFrames, /// To be added. - KeyFrames + KeyFrames, } // Strongly Typed kVTPropertyTypeKey @@ -349,7 +349,7 @@ public enum VTPropertyType { /// To be added. Boolean, /// To be added. - Number + Number, } // Strongly Typed kVTPropertyReadWriteStatusKey @@ -360,7 +360,7 @@ public enum VTReadWriteStatus { /// To be added. ReadOnly, /// To be added. - ReadWrite + ReadWrite, } public struct VTDataRateLimit { @@ -386,7 +386,7 @@ public enum VTScalingMode { /// To be added. Letterbox, /// To be added. - Trim + Trim, } /// Chroma downsampling techniques. @@ -397,7 +397,7 @@ public enum VTDownsamplingMode { /// To be added. Decimate, /// To be added. - Average + Average, } [TV (14, 0), iOS (14, 0)] diff --git a/src/VideoToolbox/VTVideoEncoder.cs b/src/VideoToolbox/VTVideoEncoder.cs index 70cedad4941f..1478021c3035 100644 --- a/src/VideoToolbox/VTVideoEncoder.cs +++ b/src/VideoToolbox/VTVideoEncoder.cs @@ -270,7 +270,7 @@ internal VTVideoEncoder (NSDictionary dict) // The caller must CFRelease the returned supported properties and encoder ID. var ret = new VTSupportedEncoderProperties { EncoderId = CFString.FromHandle (encoderIdPtr, releaseHandle: true), - SupportedProperties = Runtime.GetNSObject (supportedPropertiesPtr, owns: true) + SupportedProperties = Runtime.GetNSObject (supportedPropertiesPtr, owns: true), }; return ret; } diff --git a/src/WatchConnectivity/WCEnums.cs b/src/WatchConnectivity/WCEnums.cs index 8f04f3b81dd1..cf9c3a4a534b 100644 --- a/src/WatchConnectivity/WCEnums.cs +++ b/src/WatchConnectivity/WCEnums.cs @@ -45,6 +45,6 @@ public enum WCErrorCode : long { public enum WCSessionActivationState : long { NotActivated = 0, Inactive = 1, - Activated = 2 + Activated = 2, } } diff --git a/src/WebKit/WebNavigationPolicyEventArgs.cs b/src/WebKit/WebNavigationPolicyEventArgs.cs index 32a27b0c2268..4763896623fd 100644 --- a/src/WebKit/WebNavigationPolicyEventArgs.cs +++ b/src/WebKit/WebNavigationPolicyEventArgs.cs @@ -21,7 +21,7 @@ public enum WebActionMouseButton { None = -1, Left = 0, Middle = 1, - Right = 2 + Right = 2, } partial class WebNavigationPolicyEventArgs { diff --git a/src/appkit.cs b/src/appkit.cs index 1a5346eefab9..33ac86798fe8 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -20767,7 +20767,7 @@ public enum NSTouchBarItemIdentifier { [NoMacCatalyst] [Field ("NSTouchBarItemIdentifierCandidateList")] - CandidateList + CandidateList, } [MacCatalyst (13, 1)] diff --git a/src/callkit.cs b/src/callkit.cs index 0ea59236e079..22d47c19a955 100644 --- a/src/callkit.cs +++ b/src/callkit.cs @@ -26,7 +26,7 @@ namespace CallKit { public enum CXCallDirectoryEnabledStatus : long { Unknown = 0, Disabled = 1, - Enabled = 2 + Enabled = 2, } /// Enumerates Call Kit errors. diff --git a/src/coredata.cs b/src/coredata.cs index 3d863254dd76..afb634b35405 100644 --- a/src/coredata.cs +++ b/src/coredata.cs @@ -79,7 +79,7 @@ public enum NSPersistentStoreUbiquitousTransitionType : ulong { AccountAdded = 1, AccountRemoved, ContentRemoved, - InitialImportCompleted + InitialImportCompleted, } [Native] @@ -89,7 +89,7 @@ public enum NSSnapshotEventType : ulong { UndoUpdate = 1 << 3, Rollback = 1 << 4, Refresh = 1 << 5, - MergePolicy = 1 << 6 + MergePolicy = 1 << 6, } [BaseType (typeof (NSPersistentStore))] diff --git a/src/corelocation.cs b/src/corelocation.cs index 348a07d9e027..1d462f69d03d 100644 --- a/src/corelocation.cs +++ b/src/corelocation.cs @@ -39,7 +39,7 @@ namespace CoreLocation { public enum CLRegionState : long { Unknown, Inside, - Outside + Outside, } /// An enumeration whose values specify the physical proximity of an iBeacon. @@ -53,7 +53,7 @@ public enum CLProximity : long { Unknown, Immediate, Near, - Far + Far, } [ErrorDomain ("CLLocationPushServiceErrorDomain")] diff --git a/src/coremidi.cs b/src/coremidi.cs index 34d41cebaf54..a3d5730da7e9 100644 --- a/src/coremidi.cs +++ b/src/coremidi.cs @@ -181,7 +181,7 @@ public enum MidiUtilityStatus : uint { [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] DeltaClockstampTicksPerQuarterNote = 0x3, [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] - TicksSinceLastEvent = 0x4 + TicksSinceLastEvent = 0x4, } [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] @@ -206,7 +206,7 @@ public enum UmpStreamMessageStatus : uint { public enum MidiUmpFunctionBlockMidi1Info { NotMidi1 = 0, UnrestrictedBandwidth = 1, - RestrictedBandwidth = 2 + RestrictedBandwidth = 2, } [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] @@ -215,7 +215,7 @@ public enum MidiUmpFunctionBlockUIHint { Unknown = 0, Receiver = 1, Sender = 2, - SenderReceiver = 3 + SenderReceiver = 3, } [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] @@ -224,7 +224,7 @@ public enum MidiUmpFunctionBlockDirection { Unknown = 0, Input = 1, Output = 2, - Bidirectional = 3 + Bidirectional = 3, } [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] @@ -233,7 +233,7 @@ public enum UmpStreamMessageFormat : byte { Complete = 0x00, Start = 0x01, Continuing = 0x02, - End = 0x03 + End = 0x03, } [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] diff --git a/src/coremotion.cs b/src/coremotion.cs index e8952421744c..e4ee777ee8cd 100644 --- a/src/coremotion.cs +++ b/src/coremotion.cs @@ -636,7 +636,7 @@ interface CMSensorRecorder { [Native] public enum CMPedometerEventType : long { Pause, - Resume + Resume, } /// Apple documentation for CMPedometerEvent diff --git a/src/fileproviderui.cs b/src/fileproviderui.cs index 479341d76a97..46fec2d40ec3 100644 --- a/src/fileproviderui.cs +++ b/src/fileproviderui.cs @@ -28,7 +28,7 @@ namespace FileProviderUI { [Native] enum FPUIExtensionErrorCode : ulong { UserCancelled, - Failed + Failed, } /// File Provider UI extension context. diff --git a/src/gameplaykit.cs b/src/gameplaykit.cs index 32d900c6e0d8..4521b68f228d 100644 --- a/src/gameplaykit.cs +++ b/src/gameplaykit.cs @@ -49,7 +49,7 @@ namespace GameplayKit { public enum GKMeshGraphTriangulationMode : ulong { Vertices = 1 << 0, Centers = 1 << 1, - EdgeMidpoints = 1 << 2 + EdgeMidpoints = 1 << 2, } [Native] @@ -62,7 +62,7 @@ public enum GKRTreeSplitStrategy : long { /// To be added. Quadratic = 2, /// To be added. - ReduceOverlap = 3 + ReduceOverlap = 3, } /// Interface representing the required methods (if any) of the protocol . diff --git a/src/healthkit.cs b/src/healthkit.cs index 52cc1a2262ec..ea5fc6d31e42 100644 --- a/src/healthkit.cs +++ b/src/healthkit.cs @@ -71,7 +71,7 @@ public enum HKErrorCode : long { public enum HKWorkoutSessionLocationType : long { Unknown = 1, Indoor, - Outdoor + Outdoor, } [iOS (17, 0)] diff --git a/src/intents.cs b/src/intents.cs index d5d07466254f..db11125c3ce7 100644 --- a/src/intents.cs +++ b/src/intents.cs @@ -52,7 +52,7 @@ public enum INBookRestaurantReservationIntentCode : long { Failure, FailureRequiringAppLaunch, FailureRequiringAppLaunchMustVerifyCredentials, - FailureRequiringAppLaunchServiceTemporarilyUnavailable + FailureRequiringAppLaunchServiceTemporarilyUnavailable, } /// Flagging enumeration of the types of calls supported by the device. @@ -62,7 +62,7 @@ public enum INBookRestaurantReservationIntentCode : long { [Flags] public enum INCallCapabilityOptions : ulong { AudioCall = (1 << 0), - VideoCall = (1 << 1) + VideoCall = (1 << 1), } [MacCatalyst (13, 1)] @@ -119,7 +119,7 @@ public enum INCancelWorkoutIntentResponseCode : long { public enum INCarAirCirculationMode : long { Unknown = 0, FreshAir, - RecirculateAir + RecirculateAir, } /// Enumerates inputs to the car sound system. @@ -139,7 +139,7 @@ public enum INCarAudioSource : long { Usb, MemoryCard, OpticalDrive, - HardDrive + HardDrive, } /// Enumerates defroster locations. @@ -176,7 +176,7 @@ public enum INCarSeat : long { ThirdRowLeft, ThirdRowRight, ThirdRow, - All + All, } /// Enumerates operators to be used with search predicates. @@ -187,7 +187,7 @@ public enum INCarSeat : long { public enum INConditionalOperator : long { All = 0, Any, - None + None, } /// Enumerates results codes for the . @@ -218,7 +218,7 @@ public enum INEndWorkoutIntentResponseCode : long { public enum INGetAvailableRestaurantReservationBookingDefaultsIntentResponseCode : long { Success, Failure, - Unspecified + Unspecified, } [Unavailable (PlatformName.MacOSX)] @@ -228,7 +228,7 @@ public enum INGetAvailableRestaurantReservationBookingsIntentCode : long { Success, Failure, FailureRequestUnsatisfiable, - FailureRequestUnspecified + FailureRequestUnspecified, } [Unavailable (PlatformName.MacOSX)] @@ -236,7 +236,7 @@ public enum INGetAvailableRestaurantReservationBookingsIntentCode : long { [Native] public enum INGetRestaurantGuestIntentResponseCode : long { Success, - Failure + Failure, } /// Enumerates results codes for the . @@ -254,7 +254,7 @@ public enum INGetRideStatusIntentResponseCode : long { Failure, FailureRequiringAppLaunch, FailureRequiringAppLaunchMustVerifyCredentials, - FailureRequiringAppLaunchServiceTemporarilyUnavailable + FailureRequiringAppLaunchServiceTemporarilyUnavailable, } [Unavailable (PlatformName.MacOSX)] @@ -264,7 +264,7 @@ public enum INGetUserCurrentRestaurantReservationBookingsIntentResponseCode : lo Success, Failure, FailureRequestUnsatisfiable, - Unspecified + Unspecified, } [TV (14, 0)] @@ -328,7 +328,7 @@ public enum INIntentHandlingStatus : long { public enum INInteractionDirection : long { Unspecified = 0, Outgoing, - Incoming + Incoming, } /// Enumerates results codes for the . @@ -420,7 +420,7 @@ public enum INPaymentMethodType : long { Credit, Prepaid, Store, - ApplePay + ApplePay, } /// Enumerates the states of a payment. @@ -434,7 +434,7 @@ public enum INPaymentStatus : long { Completed, Canceled, Failed, - Unpaid + Unpaid, } /// Enumerates the source of the data for a (see ). @@ -506,7 +506,7 @@ public enum INRadioType : long { FM, HD, Satellite, - Dab + Dab, } /// Enumerates a qualitative sequential movement. @@ -519,7 +519,7 @@ public enum INRadioType : long { public enum INRelativeReference : long { Unknown = 0, Next, - Previous + Previous, } /// Enumerates qualitative increases or decreased quantities. @@ -534,7 +534,7 @@ public enum INRelativeSetting : long { Lowest, Lower, Higher, - Highest + Highest, } /// Enumerates results codes for the . @@ -591,7 +591,7 @@ public enum INRequestRideIntentResponseCode : long { public enum INRestaurantReservationUserBookingStatus : ulong { Pending, Confirmed, - Denied + Denied, } /// Enumerates results codes for the . @@ -628,7 +628,7 @@ public enum INRidePhase : long { Ongoing, Completed, ApproachingPickup, - Pickup + Pickup, } /// Enumerates results codes for the . @@ -644,7 +644,7 @@ public enum INSaveProfileInCarIntentResponseCode : long { InProgress, Success, Failure, - FailureRequiringAppLaunch + FailureRequiringAppLaunch, } /// Enumerates results codes for the . @@ -756,7 +756,7 @@ public enum INSetAudioSourceInCarIntentResponseCode : long { InProgress, Success, Failure, - FailureRequiringAppLaunch + FailureRequiringAppLaunch, } /// Enumerates results codes for the . @@ -772,7 +772,7 @@ public enum INSetClimateSettingsInCarIntentResponseCode : long { InProgress, Success, Failure, - FailureRequiringAppLaunch + FailureRequiringAppLaunch, } /// Enumerates results codes for the . @@ -788,7 +788,7 @@ public enum INSetDefrosterSettingsInCarIntentResponseCode : long { InProgress, Success, Failure, - FailureRequiringAppLaunch + FailureRequiringAppLaunch, } /// Enumerates results codes for the . @@ -804,7 +804,7 @@ public enum INSetMessageAttributeIntentResponseCode : long { Failure, FailureRequiringAppLaunch, FailureMessageNotFound, - FailureMessageAttributeNotSet + FailureMessageAttributeNotSet, } /// Enumerates results codes for the . @@ -820,7 +820,7 @@ public enum INSetProfileInCarIntentResponseCode : long { InProgress, Success, Failure, - FailureRequiringAppLaunch + FailureRequiringAppLaunch, } /// Enumerates results codes for the . @@ -837,7 +837,7 @@ public enum INSetRadioStationIntentResponseCode : long { Success, Failure, FailureRequiringAppLaunch, - FailureNotSubscribed + FailureNotSubscribed, } /// Enumerates results codes for the . @@ -853,7 +853,7 @@ public enum INSetSeatSettingsInCarIntentResponseCode : long { InProgress, Success, Failure, - FailureRequiringAppLaunch + FailureRequiringAppLaunch, } [Unavailable (PlatformName.MacOSX)] @@ -1004,7 +1004,7 @@ public enum INWorkoutGoalUnitType : long { Minute, Hour, Joule, - KiloCalorie + KiloCalorie, } /// Enumerates where the workout is occurring. @@ -1015,7 +1015,7 @@ public enum INWorkoutGoalUnitType : long { public enum INWorkoutLocationType : long { Unknown = 0, Outdoor, - Indoor + Indoor, } /// Enumerates the types of values that are associated with a . @@ -1025,7 +1025,7 @@ public enum INWorkoutLocationType : long { public enum INPersonHandleType : long { Unknown = 0, EmailAddress, - PhoneNumber + PhoneNumber, } /// Enumerates types of payment accounts. diff --git a/src/intentsui.cs b/src/intentsui.cs index 49228d73d004..cc1c947978b5 100644 --- a/src/intentsui.cs +++ b/src/intentsui.cs @@ -31,7 +31,7 @@ public enum INUIHostedViewContext : ulong { /// To be added. SiriSnippet, /// To be added. - MapsCard + MapsCard, } [NoMac] diff --git a/src/messages.cs b/src/messages.cs index 769c2b5b7698..7d2f5e2d7b4d 100644 --- a/src/messages.cs +++ b/src/messages.cs @@ -35,7 +35,7 @@ public enum MSMessagesAppPresentationStyle : ulong { public enum MSStickerSize : long { Small, Regular, - Large + Large, } /// Enumerates errors associated with Messages. diff --git a/src/metalperformanceshaders.cs b/src/metalperformanceshaders.cs index 9f9b504a98c6..6de46c90b58a 100644 --- a/src/metalperformanceshaders.cs +++ b/src/metalperformanceshaders.cs @@ -1226,7 +1226,7 @@ interface MPSCnnConvolutionDescriptor : NSCopying, NSSecureCoding { [Native] [Flags] public enum MPSCnnConvolutionFlags : ulong { - None = 0 + None = 0, } /// A that convolves its inputs, producing a feature map for each of its constituent filters. @@ -1807,7 +1807,7 @@ public enum MPSPurgeableState : ulong { KeepCurrent = MTLPurgeableState.KeepCurrent, NonVolatile = MTLPurgeableState.NonVolatile, Volatile = MTLPurgeableState.Volatile, - Empty = MTLPurgeableState.Empty + Empty = MTLPurgeableState.Empty, } /// An image that may contain more than 4 channels. (For example, an image in a layer of a convolutional neural network.) diff --git a/src/pencilkit.cs b/src/pencilkit.cs index 37c9a4b6e4f8..95337fefe960 100644 --- a/src/pencilkit.cs +++ b/src/pencilkit.cs @@ -754,6 +754,6 @@ interface IPKToolPickerDelegate { } enum PKToolPickerCustomItemControlOptions : ulong { None = 0, Width = 1 << 0, - Opacity = 1 << 1 + Opacity = 1 << 1, } } diff --git a/src/quicklookUI.cs b/src/quicklookUI.cs index 5cb9990ce5e0..31af0580a903 100644 --- a/src/quicklookUI.cs +++ b/src/quicklookUI.cs @@ -16,7 +16,7 @@ namespace QuickLookUI { [Native] enum QLPreviewViewStyle : ulong { Normal = 0, - Compact = 1 + Compact = 1, } interface IQLPreviewPanelDataSource { } diff --git a/src/stylecop.ruleset b/src/stylecop.ruleset index 0f437e5eaf39..61d475f5f811 100644 --- a/src/stylecop.ruleset +++ b/src/stylecop.ruleset @@ -135,7 +135,7 @@ - + diff --git a/src/tvmlkit.cs b/src/tvmlkit.cs index ac782b340890..6b0971abdb4f 100644 --- a/src/tvmlkit.cs +++ b/src/tvmlkit.cs @@ -21,7 +21,7 @@ public enum TVColorType : long { None, Plain, LinearGradientTopToBottom, - LinearGradientLeftToRight + LinearGradientLeftToRight, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] @@ -41,7 +41,7 @@ public enum TVElementContentAlignment : long { Undefined, Top, Center, - Bottom + Bottom, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] @@ -74,7 +74,7 @@ public enum TVElementEventType : long { Select, HoldSelect, Highlight, - Change + Change, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] @@ -97,7 +97,7 @@ public enum TVElementUpdateType : long { [Native] public enum TVElementResettableProperty : long { UpdateType, - AutoHighlightIdentifier + AutoHighlightIdentifier, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] @@ -106,7 +106,7 @@ public enum TVImageType : long { Image, Fullscreen, Decoration, - Hero + Hero, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] @@ -116,7 +116,7 @@ public enum TVMLKitError : long { Unknown = 1, InternetUnavailable, FailedToLaunch, - Last + Last, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] @@ -129,7 +129,7 @@ public enum TVViewElementStyleType : long { Color, Url, Transform, - EdgeInsets + EdgeInsets, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] @@ -139,7 +139,7 @@ public enum TVTextElementStyle : long { Title, Subtitle, Description, - Decoration + Decoration, } [Deprecated (PlatformName.TvOS, 18, 0, message: "Use SwiftUI or UIKit instead.")] diff --git a/src/usernotifications.cs b/src/usernotifications.cs index 2aedc766c24e..bee75268f398 100644 --- a/src/usernotifications.cs +++ b/src/usernotifications.cs @@ -60,7 +60,7 @@ public enum UNNotificationActionOptions : ulong { None = 0, AuthenticationRequired = (1 << 0), Destructive = (1 << 1), - Foreground = (1 << 2) + Foreground = (1 << 2), } /// Contains flags that control whether a custom dismiss action is used, and whether the category is allowed in CarPlay application. @@ -105,7 +105,7 @@ public enum UNAuthorizationStatus : long { public enum UNNotificationSetting : long { NotSupported = 0, Disabled, - Enabled + Enabled, } /// Enumerates the kinds of alerts that notifications display. @@ -118,7 +118,7 @@ public enum UNAlertStyle : long { /// The notification may display a temporary slide-down banner alert. Banner, /// The notification may display a modal alert. - Alert + Alert, } [MacCatalyst (13, 1)] @@ -185,7 +185,7 @@ public enum UNNotificationPresentationOptions : ulong { public enum UNShowPreviewsSetting : long { Always, WhenAuthenticated, - Never + Never, } [iOS (15, 0), MacCatalyst (15, 0), TV (15, 0)] diff --git a/src/usernotificationsui.cs b/src/usernotificationsui.cs index 4d125ea44ca5..630c7d7e31bf 100644 --- a/src/usernotificationsui.cs +++ b/src/usernotificationsui.cs @@ -28,7 +28,7 @@ namespace UserNotificationsUI { public enum UNNotificationContentExtensionMediaPlayPauseButtonType : ulong { None, Default, - Overlay + Overlay, } /// Enumerates preferred notification responses. @@ -38,7 +38,7 @@ public enum UNNotificationContentExtensionMediaPlayPauseButtonType : ulong { public enum UNNotificationContentExtensionResponseOption : ulong { DoNotDismiss, Dismiss, - DismissAndForwardAction + DismissAndForwardAction, } interface IUNNotificationContentExtension { } diff --git a/src/videosubscriberaccount.cs b/src/videosubscriberaccount.cs index 79d6ca88a5d6..134b6cf6bfa7 100644 --- a/src/videosubscriberaccount.cs +++ b/src/videosubscriberaccount.cs @@ -46,7 +46,7 @@ public enum VSAccountAccessStatus : long { NotDetermined = 0, Restricted = 1, Denied = 2, - Granted = 3 + Granted = 3, } #if !XAMCORE_5_0 diff --git a/src/webkit.cs b/src/webkit.cs index 57a3d19c7fa8..b6f39bf8bc20 100644 --- a/src/webkit.cs +++ b/src/webkit.cs @@ -2643,14 +2643,15 @@ partial interface WebScriptObject { typeof (WebDownloadDelegate), typeof (WebResourceLoadDelegate), typeof (WebUIDelegate), - typeof (WebPolicyDelegate) }, + typeof (WebPolicyDelegate), + }, Delegates = new string [] { "WeakFrameLoadDelegate", "WeakDownloadDelegate", "WeakResourceLoadDelegate", "WeakUIDelegate", - "WeakPolicyDelegate" } - )] + "WeakPolicyDelegate", + })] partial interface WebView : NSUserInterfaceValidations { [Static] [Export ("canShowMIMEType:")]