daily update on 20240206 by nitload youmu, token parser change to use regex generator

This commit is contained in:
Nitload
2025-02-06 07:45:06 +08:00
parent 4e5a1b0dfb
commit 7d0470d50b
104 changed files with 2752 additions and 3134 deletions
@@ -34,6 +34,7 @@ using StgSharp.Math;
using System;
using System.Collections.Generic;
using System.Data;
using System.Numerics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
@@ -86,10 +87,7 @@ namespace StgSharp.Math
/// </summary>
/// <returns></returns>
[MethodImpl( MethodImplOptions.AggressiveInlining )]
public static T Random<T>() where T: struct, IConvertible
#if NET8_0_OR_GREATER
,INumber
#endif
public static T Random<T>() where T: struct, IConvertible, INumber<T>
{
if( randomSeed == null ) {