修改扩展类Utility的命名空间,由System改完NewLife,避免扩展方法名称相同时编译器报错 (#152) #453
Annotations
10 errors and 10 warnings
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L25
'int' does not contain a definition for 'ToDateTime' and no accessible extension method 'ToDateTime' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?)
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L93
'DateTime' does not contain a definition for 'Trim' and the best extension method overload 'MemoryExtensions.Trim(Memory<char>)' requires a receiver of type 'System.Memory<char>'
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L93
'DateTime' does not contain a definition for 'Trim' and the best extension method overload 'MemoryExtensions.Trim(Memory<char>)' requires a receiver of type 'System.Memory<char>'
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L97
'DateTime' does not contain a definition for 'Trim' and the best extension method overload 'MemoryExtensions.Trim(Memory<char>)' requires a receiver of type 'System.Memory<char>'
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L97
'DateTime' does not contain a definition for 'Trim' and the best extension method overload 'MemoryExtensions.Trim(Memory<char>)' requires a receiver of type 'System.Memory<char>'
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L134
'DateTime' does not contain a definition for 'Trim' and the best extension method overload 'MemoryExtensions.Trim(Memory<char>)' requires a receiver of type 'System.Memory<char>'
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L134
'DateTime' does not contain a definition for 'Trim' and the best extension method overload 'MemoryExtensions.Trim(Memory<char>)' requires a receiver of type 'System.Memory<char>'
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L183
'int' does not contain a definition for 'ToDateTime' and no accessible extension method 'ToDateTime' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?)
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L211
'object' does not contain a definition for 'ToBoolean' and no accessible extension method 'ToBoolean' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
|
Build:
XUnitTest.Core/Web/JwtBuilderTests.cs#L259
'int' does not contain a definition for 'ToDateTime' and no accessible extension method 'ToDateTime' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Test/Program.cs#L38
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:
Test/Program.cs#L267
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:
Test/Program.cs#L99
The field 'Program._client' is never used
|
Build:
Test/Program.cs#L38
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:
Test/Program.cs#L267
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:
Test/Program.cs#L99
The field 'Program._client' is never used
|
Build:
Samples/Zero.Desktop/FrmMain.cs#L30
The field 'FrmMain._lastConns' is never used
|
Build:
Test/Program.cs#L38
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:
Test/Program.cs#L267
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:
Test/Program.cs#L99
The field 'Program._client' is never used
|
Loading