Disable naming rule inspection on struct stat definition

This commit is contained in:
Bartłomiej Dach 2022-12-28 22:38:42 +01:00
parent 10c11e974d
commit 74bc5d4666
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,8 @@ private struct ByHandleFileInformation
#region Linux native methods #region Linux native methods
#pragma warning disable IDE1006 // Naming rule violation
[DllImport("libc", SetLastError = true)] [DllImport("libc", SetLastError = true)]
public static extern int link(string oldpath, string newpath); public static extern int link(string oldpath, string newpath);
@ -179,6 +181,8 @@ private struct timespec
public readonly long tv_nsec; public readonly long tv_nsec;
} }
#pragma warning restore IDE1006
#endregion #endregion
} }
} }