添加 nullable 检查
This commit is contained in:
1 parent
6432370f86
commit
ff8cbe2ccc
5 files changed
+43
-33
No files matched your search
+2
-2
@@ -46,8 +46,8 @@ public static class MsDelta {
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
private static extern bool CreateDelta(
|
||||
long fileTypeSet, long setFlags, long resetFlags,
|
||||
string sourceName, string targetName, string sourceOptionsName,
|
||||
string targetOptionsName, DeltaInput globalOptions,
|
||||
string sourceName, string targetName, string? sourceOptionsName,
|
||||
string? targetOptionsName, DeltaInput globalOptions,
|
||||
IntPtr targetFileTime, uint hashAlgId, string deltaName);
|
||||
[DllImport("msdelta.dll", CharSet = CharSet.Unicode, SetLastError = true)]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
|
||||
Reference in new issue
Block a user