Skip to content

Commit

Permalink
Add default FileSystemWatcher to unityaot profile (case 1344045).
Browse files Browse the repository at this point in the history
  • Loading branch information
joncham committed Sep 13, 2021
1 parent 4958d56 commit 15d9756
Show file tree
Hide file tree
Showing 8 changed files with 864 additions and 3 deletions.
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();
}
}
}
Loading

0 comments on commit 15d9756

Please sign in to comment.