refactor: pass B2Segment as readonly in and update callers #333
Annotations
90 warnings
|
test-macos-latest-8:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-macos-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-8:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-macos-latest-8:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-macos-latest-10:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-macos-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-10:
src/Box2D.NET/B2Distances.cs#L497
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)
|
|
test-macos-latest-10:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-macos-latest-10:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Samples/Collisions/OverlapWorld.cs#L53
The field 'OverlapWorld.m_basePosition' is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Samples/Shapes/ModifyGeometry.cs#L24
The field 'ModifyGeometry.m_shape' is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET/B2Distances.cs#L497
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)
|
|
test-macos-latest-9:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-macos-latest-9:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-9:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-8:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-ubuntu-latest-9:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-10:
src/Box2D.NET/B2Distances.cs#L497
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)
|
|
test-ubuntu-latest-8:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-ubuntu-latest-9:
src/Box2D.NET/B2Distances.cs#L497
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)
|
|
test-ubuntu-latest-10:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-ubuntu-latest-10:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-ubuntu-latest-9:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-ubuntu-latest-9:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Samples/Stackings/CapsuleStack.cs#L18
The field 'CapsuleStack.Event.indexB' is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Samples/Doohickey.cs#L23
Field 'Doohickey.m_sliderId' is never assigned to, and will always have its default value
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET/B2Distances.cs#L497
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)
|
|
test-windows-latest-9:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-windows-latest-9:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Samples/Collisions/OverlapWorld.cs#L53
The field 'OverlapWorld.m_basePosition' is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Samples/Collisions/OverlapWorld.cs#L48
The field 'OverlapWorld.m_transform' is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET/B2Distances.cs#L497
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)
|
|
test-windows-latest-10:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-windows-latest-10:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Doohickey.cs#L22
Field 'Doohickey.m_axleId2' is never assigned to, and will always have its default value
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Doohickey.cs#L21
Field 'Doohickey.m_axleId1' is never assigned to, and will always have its default value
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Collisions/OverlapWorld.cs#L48
The field 'OverlapWorld.m_transform' is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-windows-latest-8:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|