Minecraft-Console-Client/MinecraftClient/Protocol
copilot-swe-agent[bot] 74def7c512 Modernize lock object declarations from object to System.Threading.Lock
Replace all lock object declarations using 'object' type with the C# 13
System.Threading.Lock type across 12 files. The Lock type provides a
more efficient locking mechanism - when used with lock(), the compiler
automatically uses Lock.EnterScope() instead of Monitor.Enter/Exit.

Also made two previously non-readonly lock fields readonly:
- McClient.DigLock
- Protocol18.MessageSigningLock

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 00:15:21 +00:00
..
Handlers Modernize lock object declarations from object to System.Threading.Lock 2026-03-24 00:15:21 +00:00
Message Address code review feedback 2026-03-22 16:46:33 +00:00
ProfileKey Add configurable authlib-injector API path and HTTP support for Yggdrasil auth 2026-03-23 00:15:32 +01:00
Session Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
DataTypeGenerator.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
EntityActionType.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
GuidExtensions.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
IMinecraftCom.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
IMinecraftComHandler.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
JwtPayloadDecode.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
MicrosoftAuthentication.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
MojangAPI.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
PlayerInfo.cs Trim 2023-01-14 21:07:09 +08:00
ProtocolHandler.cs Add configurable authlib-injector API path and HTTP support for Yggdrasil auth 2026-03-23 00:15:32 +01:00
ProxiedWebRequest.cs Address code review feedback 2026-03-22 16:46:33 +00:00
ReplayHandler.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00