Feedback
authorBen Adams <thundercat@illyriad.co.uk>
Tue, 8 Jan 2019 22:37:23 +0000 (22:37 +0000)
committerBen Adams <thundercat@illyriad.co.uk>
Tue, 8 Jan 2019 22:37:23 +0000 (22:37 +0000)
Commit migrated from https://github.com/dotnet/corefx/commit/c82d211923fe5a2bd6381f717df951cf4c11dbf0

src/libraries/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.OSX.cs

index 992b425..c1cc285 100644 (file)
@@ -386,12 +386,9 @@ namespace System.IO
 
             private unsafe void ProcessEvent(int numEvents,
                 byte** eventPaths,
-                [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)]
                 Interop.EventStream.FSEventStreamEventFlags[] eventFlags,
-                [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)]
                 FSEventStreamEventId[] eventIds,
-                FileSystemWatcher watcher
-            )
+                FileSystemWatcher watcher)
             {
                 // Since renames come in pairs, when we find the first we need to search for the next one. Once we find it, we'll add it to this
                 // list so when the for-loop comes across it, we'll skip it since it's already been processed as part of the original of the pair.