Skip to content

fix: 需要正确处理协变逆变问题,兼容.NET2.0。fix: https://github.com/NewLifeX/X/issues… #171

fix: 需要正确处理协变逆变问题,兼容.NET2.0。fix: https://github.com/NewLifeX/X/issues…

fix: 需要正确处理协变逆变问题,兼容.NET2.0。fix: https://github.com/NewLifeX/X/issues… #171

Triggered via push July 6, 2023 10:06
Status Success
Total duration 3m 49s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
test: Test/Program.cs#L32
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.
test: Test/Program.cs#L326
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.'
test: Test/Program.cs#L342
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.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
test: 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.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L78
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L54
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L64
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L63
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L39
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: Test/Program.cs#L32
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.
test: Test/Program.cs#L326
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.'
test: Test/Program.cs#L342
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.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
test: 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.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L39
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L63
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L40
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L54
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L78
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.