Update Lib to version 2.44

Update nuget packages
This commit is contained in:
Geoffroy BONNEVILLE
2020-03-16 15:28:05 +01:00
parent 3a85b60e58
commit b8240d482f
108 changed files with 1102 additions and 595 deletions

View File

@@ -1,6 +1,6 @@
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2019 Dominik Reichl <dominik.reichl@t-online.de>
Copyright (C) 2003-2020 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -82,7 +82,7 @@ namespace ModernKeePassLib
get { return m_uuid; }
set
{
Debug.Assert(value != null); if(value == null) throw new ArgumentNullException("value");
if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
m_uuid = value;
}
}
@@ -95,7 +95,7 @@ namespace ModernKeePassLib
get { return m_strName; }
set
{
Debug.Assert(value != null); if(value == null) throw new ArgumentNullException("value");
if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
m_strName = value;
}
}
@@ -108,7 +108,7 @@ namespace ModernKeePassLib
get { return m_strNotes; }
set
{
Debug.Assert(value != null); if(value == null) throw new ArgumentNullException("value");
if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
m_strNotes = value;
}
}
@@ -132,7 +132,7 @@ namespace ModernKeePassLib
get { return m_pwCustomIconID; }
set
{
Debug.Assert(value != null); if(value == null) throw new ArgumentNullException("value");
if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
m_pwCustomIconID = value;
}
}
@@ -262,7 +262,7 @@ namespace ModernKeePassLib
get { return m_strDefaultAutoTypeSequence; }
set
{
Debug.Assert(value != null); if(value == null) throw new ArgumentNullException("value");
if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
m_strDefaultAutoTypeSequence = value;
}
}
@@ -284,7 +284,7 @@ namespace ModernKeePassLib
get { return m_pwLastTopVisibleEntry; }
set
{
Debug.Assert(value != null); if(value == null) throw new ArgumentNullException("value");
if(value == null) { Debug.Assert(false); throw new ArgumentNullException("value"); }
m_pwLastTopVisibleEntry = value;
}
}
@@ -900,7 +900,7 @@ namespace ModernKeePassLib
{
RegexOptions ro = RegexOptions.None; // RegexOptions.Compiled
if((sp.ComparisonMode == StringComparison.CurrentCultureIgnoreCase) ||
#if !ModernKeePassLib && !KeePassRT
#if !ModernKeePassLib
(sp.ComparisonMode == StringComparison.InvariantCultureIgnoreCase) ||
#endif
(sp.ComparisonMode == StringComparison.OrdinalIgnoreCase))