Replaced arrays with spans in query. Replaced array allocation with b… #1005
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build:
src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
|
Build:
test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
|
Build:
src/DotRecast.Detour/DtPathUtils.cs#L195
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
|
Build:
src/DotRecast.Detour/DtPathUtils.cs#L237
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
|
Build:
src/DotRecast.Detour/DtPathUtils.cs#L282
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
|
Build:
src/DotRecast.Detour/DtPathUtils.cs#L283
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
|
Build:
src/DotRecast.Detour/DtNavMeshQuery.cs#L895
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
|
Build:
src/DotRecast.Detour/DtNavMeshQuery.cs#L1185
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
|
Build:
src/DotRecast.Detour/DtNavMeshQuery.cs#L2278
'RcRentedArray<long>.AsArray()' is obsolete: 'This method is risky, and we are considering alternative approaches.'
|
Build:
src/DotRecast.Detour/DtNavMeshQuery.cs#L1630
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Loading