Skip to content

Commit 2b7050b

Browse files
monojenkinsalexischr
authored andcommitted
[2019-06] Add RenamedEvent* to FSW sources from CoreFX (#16758)
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 4f5ed50 commit 2b7050b

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
@@ -412,6 +412,8 @@
412412
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\FileSystemEventArgs.cs" />
413413
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\FileSystemEventHandler.cs" />
414414
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\FileSystemWatcher.cs" />
415+
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\RenamedEventArgs.cs" />
416+
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\RenamedEventHandler.cs" />
415417
<Compile Include="..\..\..\external\corefx\src\System.IO.FileSystem.Watcher\src\System\IO\WaitForChangedResult.cs" />
416418
<Compile Include="..\..\..\external\corefx\src\System.Net.Mail\src\System\Net\Base64Stream.cs" />
417419
<Compile Include="..\..\..\external\corefx\src\System.Net.Mail\src\System\Net\BufferBuilder.cs" />
@@ -870,8 +872,6 @@
870872
<Compile Include="System.IO\InternalBufferOverflowException.cs" />
871873
<Compile Include="System.IO\InvalidDataException.cs" />
872874
<Compile Include="System.IO\NotifyFilters.cs" />
873-
<Compile Include="System.IO\RenamedEventArgs.cs" />
874-
<Compile Include="System.IO\RenamedEventHandler.cs" />
875875
<Compile Include="System.IO\WatcherChangeTypes.cs" />
876876
<Compile Include="System.Net.Mail\AlternateView.cs" />
877877
<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
@@ -33,8 +33,6 @@ System.IO/InternalBufferOverflowException.cs
3333
System.IO/InvalidDataException.cs
3434
System.IO/IODescriptionAttribute.cs
3535
System.IO/NotifyFilters.cs
36-
System.IO/RenamedEventArgs.cs
37-
System.IO/RenamedEventHandler.cs
3836
System.IO/WatcherChangeTypes.cs
3937

4038
System.Net/BasicClient.cs
@@ -874,6 +872,8 @@ ReferenceSources/Win32Exception.cs
874872
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemEventArgs.cs
875873
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemEventHandler.cs
876874
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.cs
875+
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/RenamedEventArgs.cs
876+
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/RenamedEventHandler.cs
877877
../../../external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/WaitForChangedResult.cs
878878

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

0 commit comments

Comments
 (0)