mirror of
				https://github.com/nsnail/ns-ext.git
				synced 2025-10-31 23:35:29 +08:00 
			
		
		
		
	perf: ⚡ nuget update (#32)
[skip ci] Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
		| @@ -26,7 +26,7 @@ | ||||
|         <Title>$(AssemblyName)</Title> | ||||
|     </PropertyGroup> | ||||
|     <ItemGroup> | ||||
|         <PackageReference Include="MinVer" Version="6.0.0"> | ||||
|         <PackageReference Include="MinVer" Version="6.1.0-beta.1"> | ||||
|             <PrivateAssets>all</PrivateAssets> | ||||
|             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
|         </PackageReference> | ||||
|   | ||||
| @@ -19,11 +19,11 @@ | ||||
|             <PrivateAssets>all</PrivateAssets> | ||||
|             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
|         </PackageReference> | ||||
|         <PackageReference Include="Roslynator.Analyzers" Version="4.12.10"> | ||||
|         <PackageReference Include="Roslynator.Analyzers" Version="4.13.1"> | ||||
|             <PrivateAssets>all</PrivateAssets> | ||||
|             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
|         </PackageReference> | ||||
|         <PackageReference Include="SonarAnalyzer.CSharp" Version="10.4.0.108396"> | ||||
|         <PackageReference Include="SonarAnalyzer.CSharp" Version="10.7.0.110445"> | ||||
|             <PrivateAssets>all</PrivateAssets> | ||||
|             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
|         </PackageReference> | ||||
|   | ||||
| @@ -1,12 +1,12 @@ | ||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||
|     <ItemGroup> | ||||
|         <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0"/> | ||||
|         <PackageReference Include="xunit" Version="2.9.2"/> | ||||
|         <PackageReference Include="xunit.runner.visualstudio" Version="3.0.0"> | ||||
|         <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0-preview-25107-01"/> | ||||
|         <PackageReference Include="xunit" Version="2.9.3"/> | ||||
|         <PackageReference Include="xunit.runner.visualstudio" Version="3.0.2"> | ||||
|             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
|             <PrivateAssets>all</PrivateAssets> | ||||
|         </PackageReference> | ||||
|         <PackageReference Include="coverlet.collector" Version="6.0.3"> | ||||
|         <PackageReference Include="coverlet.collector" Version="6.0.4"> | ||||
|             <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||||
|             <PrivateAssets>all</PrivateAssets> | ||||
|         </PackageReference> | ||||
|   | ||||
| @@ -27,7 +27,7 @@ public static class EnumExtensions | ||||
|         var resDescAttr = typeOfField!.GetCustomAttribute<ResourceDescriptionAttribute<T>>(true); | ||||
|         return resDescAttr is null | ||||
|             ? Enum.GetName(typeOfEnum, e) | ||||
|             : typeof(T).GetProperty(resDescAttr.ResourceName)?.GetValue(default) as string; | ||||
|             : typeof(T).GetProperty(resDescAttr.ResourceName)?.GetValue(null) as string; | ||||
|     } | ||||
|  | ||||
|     /// <summary> | ||||
|   | ||||
| @@ -36,6 +36,8 @@ public static class IntExtensions | ||||
|     /// </summary> | ||||
|     public static string ToIpV4(this int me) | ||||
|     { | ||||
|         return string.Join(".", BitConverter.GetBytes(me).Reverse()); | ||||
|         var bytes = BitConverter.GetBytes(me); | ||||
|         Array.Reverse(bytes); | ||||
|         return string.Join('.', bytes); | ||||
|     } | ||||
| } | ||||
| @@ -7,7 +7,7 @@ | ||||
|     <Import Project="$(SolutionDir)/build/copy.pkg.xml.comment.files.targets"/> | ||||
|     <Import Project="$(SolutionDir)/build/prebuild.targets"/> | ||||
|     <ItemGroup> | ||||
|         <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.12.0"/> | ||||
|         <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.13.0"/> | ||||
|         <PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0"/> | ||||
|         <PackageReference Include="System.IO.Hashing" Version="9.0.0"/> | ||||
|     </ItemGroup> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 GitHub
						GitHub