Skip to content

feat: add new File methods from .NET 9 #1516

feat: add new File methods from .NET 9

feat: add new File methods from .NET 9 #1516

Triggered via pull request January 28, 2025 15:14
Status Success
Total duration 9m 45s
Artifacts 4

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L54
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L55
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs#L2088
This call site is reachable on all platforms. 'DirectoryAclExtensions.GetAccessControl(IDirectory, string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L629
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L626
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L608
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (macos-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L626
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L629
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L608
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileOpenTests.cs#L250
Avoid inexact read with 'System.IO.Abstractions.FileSystemStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileOpenTests.cs#L273
Avoid inexact read with 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L54
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L55
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileInfoTests.cs#L502
Avoid inexact read with 'System.IO.Abstractions.FileSystemStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (ubuntu-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L54
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileArgumentPathTests.cs#L55
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs#L2088
This call site is reachable on all platforms. 'DirectoryAclExtensions.GetAccessControl(IDirectory, string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L608
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L629
This call site is reachable on all platforms. 'IFile.Decrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs#L626
This call site is reachable on all platforms. 'IFile.Encrypt(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectorySecurity' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Test (windows-latest): tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoTests.cs#L521
This call site is reachable on all platforms. 'DirectoryInfoAclExtensions.Create(IDirectoryInfo, DirectorySecurity)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)

Artifacts

Produced during runtime
Name Size Digest
Code coverage macos-latest Expired
263 KB
sha256:c11b868fe6ba4c68953277caedd3ec2651fc8118a8dfc2f9bcca02018caccd2a
Code coverage ubuntu-latest Expired
263 KB
sha256:260d3da59e8f99c4084baccf0412e02eaf62039d9b3bb27511bddb2451617f18
Code coverage windows-latest Expired
321 KB
sha256:986070e29302c2bb05fdf63eb295a7489fe8bfdd7aa51efb18c3c9ee7739ea60
NuGet packages Expired
1.54 MB
sha256:3e71353f7434d9d90b199c59536a88307e80c25ccc386fe08ef1682dfe28c301