forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default FileSystemWatcher to unityaot profile (case 1344045).
- Loading branch information
Showing
8 changed files
with
864 additions
and
3 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...fx-bugfix/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.UnknownUnix.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
#if MONO && (!MOBILE || UNITY_AOT) | ||
|
||
using System; | ||
using System.IO; | ||
namespace System.IO.CoreFX | ||
#else | ||
|
||
namespace System.IO | ||
#endif | ||
{ | ||
public partial class FileSystemWatcher | ||
{ | ||
/// <summary>Called when FileSystemWatcher is finalized.</summary> | ||
private void FinalizeDispose() | ||
{ | ||
} | ||
|
||
private void StartRaisingEvents() | ||
{ | ||
throw new PlatformNotSupportedException(); | ||
} | ||
|
||
private void StopRaisingEvents() | ||
{ | ||
throw new PlatformNotSupportedException(); | ||
} | ||
} | ||
} |
Oops, something went wrong.