net8.0 #226
Annotations
5 errors and 10 warnings
test
The targeting pack Microsoft.WindowsDesktop.App.WindowsForms is not installed. Please restore and try again.
|
test
The targeting pack Microsoft.WindowsDesktop.App.WindowsForms is not installed. Please restore and try again.
|
test
The targeting pack Microsoft.WindowsDesktop.App.WindowsForms is not installed. Please restore and try again.
|
test
The targeting pack Microsoft.WindowsDesktop.App.WindowsForms is not installed. Please restore and try again.
|
test
Process completed with exit code 1.
|
test:
NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
|
test:
NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
|
test:
NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
|
test:
NewLife.Core/Reflection/ScriptEngine.cs#L170
Argument of type 'object?[]' cannot be used for parameter 'args' of type 'object[]' in 'Type[] Reflect.GetTypeArray(object[] args)' due to differences in the nullability of reference types.
|
test:
Test/Program.cs#L33
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#L358
'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.' (https://aka.ms/dotnet-warnings/SYSLIB0039)
|
test:
Test/Program.cs#L374
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/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
test:
XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
test:
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)
|