Skip to content

in modifier for b2Polygon#86

Open
Happypig375 wants to merge 1 commit intoikpil:mainfrom
Happypig375:in_polygon
Open

in modifier for b2Polygon#86
Happypig375 wants to merge 1 commit intoikpil:mainfrom
Happypig375:in_polygon

Conversation

@Happypig375
Copy link
Copy Markdown
Contributor

I did not encounter the warning as specified in #57 (comment).

All warnings from Visual Studio are as follows:

Severity	Code	Description	Project	File	Line	Suppression State	Details
Warning (active)	CA2265	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)	Box2D.NET (net10.0), Box2D.NET (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2Distances.cs	619		
Warning (active)	CS0414	The field 'B2BoardPhases.b2_dynamicStats' is assigned but its value is never used	Box2D.NET (net10.0), Box2D.NET (net8.0), Box2D.NET (net9.0), Box2D.NET (netstandard2.1)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2BoardPhases.cs	27		
Warning (active)	CS0414	The field 'B2BoardPhases.b2_kinematicStats' is assigned but its value is never used	Box2D.NET (net10.0), Box2D.NET (net8.0), Box2D.NET (net9.0), Box2D.NET (netstandard2.1)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2BoardPhases.cs	28		
Warning (active)	CS0414	The field 'B2BoardPhases.b2_staticStats' is assigned but its value is never used	Box2D.NET (net10.0), Box2D.NET (net8.0), Box2D.NET (net9.0), Box2D.NET (netstandard2.1)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2BoardPhases.cs	29		
Warning (active)	CS0162	Unreachable code detected	Box2D.NET (net10.0), Box2D.NET (net8.0), Box2D.NET (net9.0), Box2D.NET (netstandard2.1)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2Solvers.cs	52		
Warning (active)	CS0162	Unreachable code detected	Box2D.NET (net10.0), Box2D.NET (net8.0), Box2D.NET (net9.0), Box2D.NET (netstandard2.1)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2Solvers.cs	60		
Warning (active)	CA2265	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)	Box2D.NET (net10.0), Box2D.NET (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2Distances.cs	497		
Warning (active)	CA2265	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)	Box2D.NET (net10.0), Box2D.NET (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET\B2Distances.cs	557		
Warning (active)	CS0219	The variable 'fileBufferCapacity' is assigned but its value is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Graphics\FontsV1.cs	65		
Warning (active)	CS0219	The variable 'pw' is assigned but its value is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Graphics\FontsV1.cs	152		
Warning (active)	CS0219	The variable 'ph' is assigned but its value is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Graphics\FontsV1.cs	153		
Warning (active)	CS0219	The variable 'loop' is assigned but its value is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Primitives\TaskScheduler.cs	40		
Warning (active)	CS0169	The field 'BenchmarkCast.m_updateType' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Benchmarks\BenchmarkCast.cs	35		
Warning (active)	CS0169	The field 'BenchmarkSleep.m_awake' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Benchmarks\BenchmarkSleep.cs	27		
Warning (active)	CS0169	The field 'Mover.m_deltaX' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Characters\Mover.cs	88		
Warning (active)	CS0169	The field 'Mover.m_deltaY' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Characters\Mover.cs	89		
Warning (active)	CS0219	The variable 'noWalkSteer' is assigned but its value is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Characters\Mover.cs	310		
Warning (active)	CS0169	The field 'OverlapWorld.m_transform' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Collisions\OverlapWorld.cs	48		
Warning (active)	CS0169	The field 'OverlapWorld.m_basePosition' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Collisions\OverlapWorld.cs	53		
Warning (active)	CS0414	The field 'ShapeCast.m_drawSimplex' is assigned but its value is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Collisions\ShapeCast.cs	53		
Warning (active)	CS0649	Field 'Doohickey.m_axleId1' is never assigned to, and will always have its default value	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Doohickey.cs	21		
Warning (active)	CS0649	Field 'Doohickey.m_axleId2' is never assigned to, and will always have its default value	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Doohickey.cs	22		
Warning (active)	CS0649	Field 'Doohickey.m_sliderId' is never assigned to, and will always have its default value	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Doohickey.cs	23		
Warning (active)	CS0649	Field 'MotorJoint._transform' is never assigned to, and will always have its default value	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Joints\MotorJoint.cs	35		
Warning (active)	CS0169	The field 'ModifyGeometry.m_shape' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Shapes\ModifyGeometry.cs	24		
Warning (active)	CS0169	The field 'CapsuleStack.Event.indexA' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Stackings\CapsuleStack.cs	18		
Warning (active)	CS0169	The field 'CapsuleStack.Event.indexB' is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Stackings\CapsuleStack.cs	18		
Warning (active)	CS0414	The field 'CircleImpulse.m_gravity' is assigned but its value is never used	Box2D.NET.Samples (net10.0), Box2D.NET.Samples (net8.0), Box2D.NET.Samples (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\src\Box2D.NET.Samples\Samples\Stackings\CircleImpulse.cs	33		
Warning (active)	CS0219	The variable 'index' is assigned but its value is never used	Box2D.NET.Test (net10.0), Box2D.NET.Test (net8.0), Box2D.NET.Test (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\test\Box2D.NET.Test\B2DeterminismTest.cs	59		
Warning (active)	CS1718	Comparison made to same variable; did you mean to compare something else?	Box2D.NET.Test (net10.0), Box2D.NET.Test (net8.0), Box2D.NET.Test (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\test\Box2D.NET.Test\B2Vec2Test.cs	183		
Warning (active)	CS1718	Comparison made to same variable; did you mean to compare something else?	Box2D.NET.Test (net10.0), Box2D.NET.Test (net8.0), Box2D.NET.Test (net9.0)	C:\Users\hadri\source\repos\Box2D.NET\test\Box2D.NET.Test\B2Vec2Test.cs	184		

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant