Skip to content

chore: update API due to dependency update #1242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ namespace System.IO.Abstractions.TestingHelpers
{
public static readonly System.DateTimeOffset DefaultDateTimeOffset;
public static readonly System.Text.Encoding DefaultEncoding;
public MockFileData(byte[] contents) { }
public MockFileData(System.IO.Abstractions.TestingHelpers.MockFileData template) { }
public MockFileData(byte[] contents) { }
public MockFileData(string textContents) { }
public MockFileData(string textContents, System.Text.Encoding encoding) { }
public System.Security.AccessControl.FileSecurity AccessControl { get; set; }
Expand Down Expand Up @@ -327,8 +327,8 @@ namespace System.IO.Abstractions.TestingHelpers
public System.IO.Abstractions.FileSystemStream New(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream Wrap(System.IO.FileStream fileStream) { }
}
[System.Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ namespace System.IO.Abstractions.TestingHelpers
{
public static readonly System.DateTimeOffset DefaultDateTimeOffset;
public static readonly System.Text.Encoding DefaultEncoding;
public MockFileData(byte[] contents) { }
public MockFileData(System.IO.Abstractions.TestingHelpers.MockFileData template) { }
public MockFileData(byte[] contents) { }
public MockFileData(string textContents) { }
public MockFileData(string textContents, System.Text.Encoding encoding) { }
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
Expand Down Expand Up @@ -382,8 +382,8 @@ namespace System.IO.Abstractions.TestingHelpers
public System.IO.Abstractions.FileSystemStream New(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream Wrap(System.IO.FileStream fileStream) { }
}
[System.Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ namespace System.IO.Abstractions.TestingHelpers
{
public static readonly System.DateTimeOffset DefaultDateTimeOffset;
public static readonly System.Text.Encoding DefaultEncoding;
public MockFileData(byte[] contents) { }
public MockFileData(System.IO.Abstractions.TestingHelpers.MockFileData template) { }
public MockFileData(byte[] contents) { }
public MockFileData(string textContents) { }
public MockFileData(string textContents, System.Text.Encoding encoding) { }
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
Expand Down Expand Up @@ -406,8 +406,8 @@ namespace System.IO.Abstractions.TestingHelpers
public System.IO.Abstractions.FileSystemStream New(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream Wrap(System.IO.FileStream fileStream) { }
}
[System.Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ namespace System.IO.Abstractions.TestingHelpers
public class MockFile : System.IO.Abstractions.FileBase
{
public MockFile(System.IO.Abstractions.TestingHelpers.IMockFileDataAccessor mockFileDataAccessor) { }
public override void AppendAllBytes(string path, byte[] bytes) { }
public override void AppendAllBytes(string path, System.ReadOnlySpan<byte> bytes) { }
public override System.Threading.Tasks.Task AppendAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default) { }
public override void AppendAllBytes(string path, byte[] bytes) { }
public override System.Threading.Tasks.Task AppendAllBytesAsync(string path, System.ReadOnlyMemory<byte> bytes, System.Threading.CancellationToken cancellationToken = default) { }
public override System.Threading.Tasks.Task AppendAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default) { }
public override void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents) { }
public override void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding) { }
public override System.Threading.Tasks.Task AppendAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Threading.CancellationToken cancellationToken = default) { }
Expand Down Expand Up @@ -280,10 +280,10 @@ namespace System.IO.Abstractions.TestingHelpers
public override void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) { }
public override void SetUnixFileMode(Microsoft.Win32.SafeHandles.SafeFileHandle fileHandle, System.IO.UnixFileMode mode) { }
public override void SetUnixFileMode(string path, System.IO.UnixFileMode mode) { }
public override void WriteAllBytes(string path, byte[] bytes) { }
public override void WriteAllBytes(string path, System.ReadOnlySpan<byte> bytes) { }
public override System.Threading.Tasks.Task WriteAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default) { }
public override void WriteAllBytes(string path, byte[] bytes) { }
public override System.Threading.Tasks.Task WriteAllBytesAsync(string path, System.ReadOnlyMemory<byte> bytes, System.Threading.CancellationToken cancellationToken = default) { }
public override System.Threading.Tasks.Task WriteAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default) { }
public override void WriteAllLines(string path, System.Collections.Generic.IEnumerable<string> contents) { }
public override void WriteAllLines(string path, string[] contents) { }
public override void WriteAllLines(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding) { }
Expand All @@ -304,8 +304,8 @@ namespace System.IO.Abstractions.TestingHelpers
{
public static readonly System.DateTimeOffset DefaultDateTimeOffset;
public static readonly System.Text.Encoding DefaultEncoding;
public MockFileData(byte[] contents) { }
public MockFileData(System.IO.Abstractions.TestingHelpers.MockFileData template) { }
public MockFileData(byte[] contents) { }
public MockFileData(string textContents) { }
public MockFileData(string textContents, System.Text.Encoding encoding) { }
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
Expand Down Expand Up @@ -420,8 +420,8 @@ namespace System.IO.Abstractions.TestingHelpers
public System.IO.Abstractions.FileSystemStream New(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream Wrap(System.IO.FileStream fileStream) { }
}
[System.Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ namespace System.IO.Abstractions.TestingHelpers
{
public static readonly System.DateTimeOffset DefaultDateTimeOffset;
public static readonly System.Text.Encoding DefaultEncoding;
public MockFileData(byte[] contents) { }
public MockFileData(System.IO.Abstractions.TestingHelpers.MockFileData template) { }
public MockFileData(byte[] contents) { }
public MockFileData(string textContents) { }
public MockFileData(string textContents, System.Text.Encoding encoding) { }
public System.Security.AccessControl.FileSecurity AccessControl { get; set; }
Expand Down Expand Up @@ -327,8 +327,8 @@ namespace System.IO.Abstractions.TestingHelpers
public System.IO.Abstractions.FileSystemStream New(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream Wrap(System.IO.FileStream fileStream) { }
}
[System.Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ namespace System.IO.Abstractions.TestingHelpers
{
public static readonly System.DateTimeOffset DefaultDateTimeOffset;
public static readonly System.Text.Encoding DefaultEncoding;
public MockFileData(byte[] contents) { }
public MockFileData(System.IO.Abstractions.TestingHelpers.MockFileData template) { }
public MockFileData(byte[] contents) { }
public MockFileData(string textContents) { }
public MockFileData(string textContents, System.Text.Encoding encoding) { }
public System.Security.AccessControl.FileSecurity AccessControl { get; set; }
Expand Down Expand Up @@ -355,8 +355,8 @@ namespace System.IO.Abstractions.TestingHelpers
public System.IO.Abstractions.FileSystemStream New(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options) { }
public System.IO.Abstractions.FileSystemStream New(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
public System.IO.Abstractions.FileSystemStream Wrap(System.IO.FileStream fileStream) { }
}
[System.Serializable]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,8 @@ namespace System.IO.Abstractions
protected void OnError(object sender, System.IO.ErrorEventArgs args) { }
protected void OnRenamed(object sender, System.IO.RenamedEventArgs args) { }
public abstract System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType);
public abstract System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, int timeout);
public abstract System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, System.TimeSpan timeout);
public abstract System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, int timeout);
public static System.IO.Abstractions.FileSystemWatcherBase op_Implicit(System.IO.FileSystemWatcher watcher) { }
}
[System.Serializable]
Expand Down Expand Up @@ -583,8 +583,8 @@ namespace System.IO.Abstractions
public override void Dispose(bool disposing) { }
public override void EndInit() { }
public override System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType) { }
public override System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, int timeout) { }
public override System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, System.TimeSpan timeout) { }
public override System.IO.Abstractions.IWaitForChangedResult WaitForChanged(System.IO.WatcherChangeTypes changeType, int timeout) { }
}
[System.Serializable]
public abstract class FileVersionInfoBase : System.IO.Abstractions.IFileVersionInfo
Expand Down
Loading