Dalamud/Dalamud/Utility
Haselnussbomber c93f04f0e4
Code cleanup (#2439)
* Use new Lock objects

* Fix CA1513: Use ObjectDisposedException.ThrowIf

* Fix CA1860: Avoid using 'Enumerable.Any()' extension method

* Fix IDE0028: Use collection initializers or expressions

* Fix CA2263: Prefer generic overload when type is known

* Fix CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons

* Fix IDE0270: Null check can be simplified

* Fix IDE0280: Use 'nameof'

* Fix IDE0009: Add '.this'

* Fix IDE0007: Use 'var' instead of explicit type

* Fix IDE0062: Make local function static

* Fix CA1859: Use concrete types when possible for improved performance

* Fix IDE0066: Use switch expression

Only applied to where it doesn't look horrendous.

* Use is over switch

* Fix CA1847: Use String.Contains(char) instead of String.Contains(string) with single characters

* Fix SYSLIB1045: Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time.

* Fix CA1866: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char

* Fix IDE0057: Substring can be simplified

* Fix IDE0059: Remove unnecessary value assignment

* Fix CA1510: Use ArgumentNullException throw helper

* Fix IDE0300: Use collection expression for array

* Fix IDE0250: Struct can be made 'readonly'

* Fix IDE0018: Inline variable declaration

* Fix CA1850: Prefer static HashData method over ComputeHash

* Fi CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString'

* Update ModuleLog instantiations

* Organize usings
2026-01-06 08:36:55 -08:00
..
Internal Update Settings Window (#2400) 2025-09-29 09:08:25 -07:00
Numerics fix warnings in Dalamud 2023-06-09 23:38:13 +02:00
Signatures Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
TerraFxCom Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
Timing Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
ActionKindExtensions.cs Add SeStringEvaluator service (#2188) 2025-03-24 09:00:27 -07:00
Api15ToDoAttribute.cs Bunch of stuff... 2025-11-30 11:33:06 -08:00
ArrayExtensions.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
AsyncUtils.cs Make all TCS RunContinuationsAsynchronously 2024-07-21 20:49:41 +09:00
ClientLanguageExtensions.cs Add SeStringEvaluator service (#2188) 2025-03-24 09:00:27 -07:00
ClipboardFormats.cs Update TerraFX.Interop.Windows 2025-12-05 01:34:47 +01:00
CStringExtensions.cs fix: Lumina updates 2025-03-25 09:28:57 -07:00
CultureFixes.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
DateTimeSpanExtensions.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
DiagnosticUtil.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
DisposeSafety.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
DynamicPriorityQueueLoader.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
EnumExtensions.cs Add DalamudAssetManager 2023-11-28 22:31:46 +01:00
ErrorHandling.cs Show unhandled exceptions through VEH 2025-12-07 13:04:11 +01:00
EventHandlerExtensions.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
FilesystemUtil.cs Disable SafeHandles 2025-12-05 19:10:31 +01:00
FuzzyMatcher.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
Hash.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
HitchDetector.cs Add "loading dialog" for service init, unify blocking logic (#1779) 2024-04-21 17:28:37 +02:00
IDeferredDisposable.cs Make IDalamudTextureWrap ICloneable 2024-02-25 21:21:50 +09:00
IRefCountable.cs Add IFontHandle.Lock and WaitAsync 2024-01-21 03:10:41 +09:00
ItemUtil.cs Use RentedSeStringBuilder more 2025-12-19 17:34:42 +01:00
MapUtil.cs Update to Lumina 5 (new Excel parsing) (#2022) 2024-10-20 19:59:03 -07:00
ObjectKindExtensions.cs Add SeStringEvaluator service (#2188) 2025-03-24 09:00:27 -07:00
RentedSeStringBuilder.cs Add RentedSeStringBuilder 2025-10-08 03:41:31 +02:00
RollingList.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
ScopedSyncRoot.cs Add "loading dialog" for service init, unify blocking logic (#1779) 2024-04-21 17:28:37 +02:00
SeStringExtensions.cs Use RentedSeStringBuilder more 2025-12-19 17:34:42 +01:00
StableInsertionSortExtension.cs refactor: move Dalamud.Interface utils into main assembly, warnings pass 2023-08-04 19:36:09 +02:00
StringExtensions.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
TaskExtensions.cs Update docs 2024-08-25 22:23:58 +09:00
TexFileExtensions.cs Rewrite ImGuiScene 2024-07-19 18:48:05 +09:00
ThreadBoundTaskScheduler.cs Implement DrawListTextureWrap (#2036) 2025-05-09 22:47:42 +02:00
ThreadSafety.cs SeStringEvaluator: Throw if not on main thread 2025-03-24 20:24:34 +01:00
ThrowHelper.cs Add "loading dialog" for service init, unify blocking logic (#1779) 2024-04-21 17:28:37 +02:00
Util.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00
Versioning.cs Make all versioning functions internal, move to separate class 2025-12-15 21:31:25 +01:00
WeakConcurrentCollection.cs Code cleanup (#2439) 2026-01-06 08:36:55 -08:00