Updating with .NET 6.0
This commit is contained in:
@@ -183,7 +183,7 @@ END;"
|
||||
// max length in the database: 250 chars
|
||||
string trimmedFileName = fileName;
|
||||
if (trimmedFileName.Length > 250)
|
||||
fileName = fileName.Substring(0, 250);
|
||||
fileName = fileName[..250];
|
||||
|
||||
if (migratedFiles.Contains(trimmedFileName))
|
||||
{
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace AMWD.Common.EntityFrameworkCore.Extensions
|
||||
switch (state)
|
||||
{
|
||||
case SnakeCaseState.Upper:
|
||||
bool hasNext = (i + 1 < value.Length);
|
||||
bool hasNext = i + 1 < value.Length;
|
||||
if (i > 0 && hasNext)
|
||||
{
|
||||
char nextChar = value[i + 1];
|
||||
|
||||
Reference in New Issue
Block a user