去除引用common.props

This commit is contained in:
2023-11-06 19:35:59 +08:00
parent 6a2154edd9
commit c6b8dfc861
810 changed files with 3910 additions and 6695 deletions

View File

@@ -1,7 +1,4 @@
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace Tnb.Common;
@@ -159,11 +156,11 @@ public static class Check
short value,
string parameterName)
{
if(value == 0)
if (value == 0)
{
throw new ArgumentException($"{parameterName} is equal to zero");
}
else if(value < 0)
else if (value < 0)
{
throw new ArgumentException($"{parameterName} is less than zero");
}
@@ -251,7 +248,7 @@ public static class Check
Int16 minimumValue,
Int16 maximumValue = Int16.MaxValue)
{
if(value < minimumValue || value > maximumValue)
if (value < minimumValue || value > maximumValue)
{
throw new ArgumentException($"{parameterName} is out of range min: {minimumValue} - max: {maximumValue}");
}