获取网卡相关数据时,剔除本地环回和隧道网卡 #259
Annotations
11 warnings
build-publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-publish:
Samples/Zero.HttpServer/obj/Release/Zero.HttpServer.AssemblyInfo.cs#L17
The specified version string '1.0.2024.0424-beta1020' does not conform to the recommended format - major.minor.build.revision
|
build-publish:
Samples/Zero.Server/obj/Release/Zero.Server.AssemblyInfo.cs#L17
The specified version string '1.0.2024.0424-beta1020' does not conform to the recommended format - major.minor.build.revision
|
build-publish:
Test/Program.cs#L36
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build-publish:
Test/Program.cs#L428
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build-publish:
Test/Program.cs#L97
The field 'Program._client' is never used
|
build-publish:
XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build-publish:
XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
build-publish:
XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
build-publish:
XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
|
build-publish:
XUnitTest.Core/Common/MachineInfoTests.cs#L39
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|