Enhance coding conventions and static analysis setup; update .editorconfig, scanner.sh, and various C# files for improved readability and performance

This commit is contained in:
Miha Kralj
2025-12-04 14:36:00 -08:00
parent 967096d4f5
commit ee358bfdd9
9 changed files with 31 additions and 4 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
using System;
using System.Collections;
using System.Numerics;
using System.Runtime.CompilerServices;
@@ -466,7 +467,7 @@ public sealed class RingBuffer : IEnumerable<double>
_start == other._start &&
_count == other._count &&
_index == other._index &&
_current == other._current;
_current.Equals(other._current);
public override readonly bool Equals(object? obj) =>
obj is Enumerator other && Equals(other);