mirror of https://github.com/ppy/osu
Disable naming rule inspection on struct stat definition
This commit is contained in:
parent
10c11e974d
commit
74bc5d4666
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue