Skip to content

Commit d6299e4

Browse files
committed
Fix code coverage issue
1 parent d1e1ca6 commit d6299e4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎dotnet/src/InternalUtilities/src/System/SecureFileSystem.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
using System;
44
using System.Collections.Generic;
5+
using System.Diagnostics.CodeAnalysis;
56
using System.IO;
67
using System.Runtime.InteropServices;
78
using System.Security;
@@ -19,6 +20,7 @@ namespace Microsoft.SemanticKernel;
1920
/// This prevents link replacement, not changes to mounts, hard links, or the contents of an open file.
2021
/// Linux file inspection requires libc/kernel support for statx; failure never falls back to a path check.
2122
/// </remarks>
23+
[ExcludeFromCodeCoverage]
2224
internal static class SecureFileSystem
2325
{
2426
internal static FileStream OpenRead(

0 commit comments

Comments
 (0)