Skip to content

Commit da0086e

Browse files
monojenkinsalexischr
authored andcommitted
[2019-08] Add RenamedEvent* to FSW sources from CoreFX (#16756)
Add RenamedEvent* to FSW sources from CoreFX Fixes #16486 - This was only partially fixed until now * [csproj] Update project files * Add test files which test these code paths on corefx
1 parent 0297b21 commit da0086e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

mcs/class/System/System.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@
415415
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\FileSystemEventArgs.cs" />
416416
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\FileSystemEventHandler.cs" />
417417
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\FileSystemWatcher.cs" />
418+
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\RenamedEventArgs.cs" />
419+
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\RenamedEventHandler.cs" />
418420
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\WaitForChangedResult.cs" />
419421
<Compile Include="..\..\..\external\corefx\src\System.Net.Mail\src\System\Net\Base64Stream.cs" />
420422
<Compile Include="..\..\..\external\corefx\src\System.Net.Mail\src\System\Net\BufferBuilder.cs" />
@@ -872,8 +874,6 @@
872874
<Compile Include="System.IO\InternalBufferOverflowException.cs" />
873875
<Compile Include="System.IO\InvalidDataException.cs" />
874876
<Compile Include="System.IO\NotifyFilters.cs" />
875-
<Compile Include="System.IO\RenamedEventArgs.cs" />
876-
<Compile Include="System.IO\RenamedEventHandler.cs" />
877877
<Compile Include="System.IO\WatcherChangeTypes.cs" />
878878
<Compile Include="System.Net.Mail\AlternateView.cs" />
879879
<Compile Include="System.Net.Mail\AlternateViewCollection.cs" />

mcs/class/System/System_xtest.dll.sources

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ System/RemoteExecutorTests.cs
110110

111111
# System.IO.FileSystemWatcher
112112
../../../external/corefx/src/System.IO.FileSystem.Watcher/tests/Utility/*.cs
113+
../../../external/corefx/src/System.IO.FileSystem.Watcher/tests/Args.ErrorEventArgs.cs
114+
../../../external/corefx/src/System.IO.FileSystem.Watcher/tests/Args.FileSystemEventArgs.cs
115+
../../../external/corefx/src/System.IO.FileSystem.Watcher/tests/Args.RenamedEventArgs.cs
113116
../../../external/corefx/src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs
114117
../../../external/corefx/src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs
115118
../../../external/corefx/src/Common/tests/System/IO/TempFile.cs

mcs/class/System/common.sources

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ System.IO/InternalBufferOverflowException.cs
3232
System.IO/InvalidDataException.cs
3333
System.IO/IODescriptionAttribute.cs
3434
System.IO/NotifyFilters.cs
35-
System.IO/RenamedEventArgs.cs
36-
System.IO/RenamedEventHandler.cs
3735
System.IO/WatcherChangeTypes.cs
3836

3937
System.Net/BasicClient.cs
@@ -873,6 +871,8 @@ ReferenceSources/Win32Exception.cs
873871
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemEventArgs.cs
874872
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemEventHandler.cs
875873
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.cs
874+
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/RenamedEventArgs.cs
875+
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/RenamedEventHandler.cs
876876
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/WaitForChangedResult.cs
877877

878878
../../../external/corefx/src/System.Runtime.InteropServices/src/System/Security/SecureStringMarshal.cs

0 commit comments

Comments
 (0)