Ryujinx/src/Ryujinx.HLE/HOS/Services
TSRBerry fc20d9b925
[Ryujinx.Common] Address dotnet-format issues (#5358)
* dotnet format style --severity info

Some changes were manually reverted.

* dotnet format analyzers --serverity info

Some changes have been minimally adapted.

* Restore a few unused methods and variables

* Silence dotnet format IDE0060 warnings

* Silence dotnet format IDE0059 warnings

* Address or silence dotnet format IDE1006 warnings

* Address dotnet format CA1816 warnings

* Address or silence dotnet format CA2211 warnings

* Silence CA1806 and CA1834 issues

* Fix formatting for switch expressions

* Address most dotnet format whitespace warnings

* Apply dotnet format whitespace formatting

A few of them have been manually reverted and the corresponding warning was silenced

* Revert formatting changes for while and for-loops

* Format if-blocks correctly

* Run dotnet format whitespace after rebase

* Run dotnet format style after rebase

* Run dotnet format analyzers after rebase

* Run dotnet format after rebase and remove unused usings

- analyzers
- style
- whitespace

* Add comments to disabled warnings

* Remove a few unused parameters

* Replace MmeShadowScratch with Array256<uint>

* Simplify properties and array initialization, Use const when possible, Remove trailing commas

* Run dotnet format after rebase

* Address IDE0251 warnings

* Revert "Simplify properties and array initialization, Use const when possible, Remove trailing commas"

This reverts commit 9462e4136c0a2100dc28b20cf9542e06790aa67e.

* dotnet format whitespace after rebase

* First dotnet format pass

* Second dotnet format pass

* Fix build issues

* Fix StructArrayHelpers.cs

* Apply suggestions from code review

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Fix return statements

* Fix naming rule violations

* Update src/Ryujinx.Common/Utilities/StreamUtils.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Add trailing commas

* Address review feedback

* Address review feedback

* Rename remaining type parameters to TKey and TValue

* Fix manual formatting for logging levels

* Fix spacing before comments

---------

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2023-06-28 18:41:38 +02:00
..
Account Move solution and projects to src 2023-04-27 23:51:14 +02:00
Am Blocks should be synchronized on read-only fields (#5212) 2023-06-15 00:34:55 +00:00
Apm Move solution and projects to src 2023-04-27 23:51:14 +02:00
Arp Move solution and projects to src 2023-04-27 23:51:14 +02:00
Audio [Ryujinx.Common] Address dotnet-format issues (#5358) 2023-06-28 18:41:38 +02:00
Bgtc Move solution and projects to src 2023-04-27 23:51:14 +02:00
Bluetooth Move solution and projects to src 2023-04-27 23:51:14 +02:00
BluetoothManager Move solution and projects to src 2023-04-27 23:51:14 +02:00
Caps Move solution and projects to src 2023-04-27 23:51:14 +02:00
Cec Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ectx Move solution and projects to src 2023-04-27 23:51:14 +02:00
Erpt Move solution and projects to src 2023-04-27 23:51:14 +02:00
Es Move solution and projects to src 2023-04-27 23:51:14 +02:00
Eupld Move solution and projects to src 2023-04-27 23:51:14 +02:00
Fatal Move solution and projects to src 2023-04-27 23:51:14 +02:00
Friend Blocks should be synchronized on read-only fields (#5212) 2023-06-15 00:34:55 +00:00
Fs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Grc Move solution and projects to src 2023-04-27 23:51:14 +02:00
Hid Apply new naming rule to all projects except Vp9 (#5407) 2023-06-28 01:18:19 +02:00
Ins Move solution and projects to src 2023-04-27 23:51:14 +02:00
Lbl Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ldn Move solution and projects to src 2023-04-27 23:51:14 +02:00
Loader Move solution and projects to src 2023-04-27 23:51:14 +02:00
Mig Move solution and projects to src 2023-04-27 23:51:14 +02:00
Mii Apply new naming rule to all projects except Vp9 (#5407) 2023-06-28 01:18:19 +02:00
Mm Move solution and projects to src 2023-04-27 23:51:14 +02:00
Mnpp Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ncm Move solution and projects to src 2023-04-27 23:51:14 +02:00
News Move solution and projects to src 2023-04-27 23:51:14 +02:00
Nfc "Exists" method should be used instead of the "Any" extension (#5345) 2023-06-23 01:37:25 +02:00
Ngct Move solution and projects to src 2023-04-27 23:51:14 +02:00
Nifm Move solution and projects to src 2023-04-27 23:51:14 +02:00
Nim Move solution and projects to src 2023-04-27 23:51:14 +02:00
Notification Move solution and projects to src 2023-04-27 23:51:14 +02:00
Npns Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ns Move solution and projects to src 2023-04-27 23:51:14 +02:00
Nv Inheritance list should not be redundant (#5230) 2023-06-15 03:54:27 +00:00
Olsc Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ovln Move solution and projects to src 2023-04-27 23:51:14 +02:00
Pcie Move solution and projects to src 2023-04-27 23:51:14 +02:00
Pctl Move solution and projects to src 2023-04-27 23:51:14 +02:00
Pcv Move solution and projects to src 2023-04-27 23:51:14 +02:00
Pm Move solution and projects to src 2023-04-27 23:51:14 +02:00
Psc Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ptm Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ro Move solution and projects to src 2023-04-27 23:51:14 +02:00
Sdb Apply new naming rule to all projects except Vp9 (#5407) 2023-06-28 01:18:19 +02:00
Settings Apply new naming rule to all projects except Vp9 (#5407) 2023-06-28 01:18:19 +02:00
Sm Move solution and projects to src 2023-04-27 23:51:14 +02:00
Sockets "StartsWith" and "EndsWith" overloads that take a "char" should be used instead of the ones that take a "string" (#5347) 2023-06-23 02:15:14 +02:00
Spl Blocks should be synchronized on read-only fields (#5212) 2023-06-15 00:34:55 +00:00
Srepo Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ssl Blocks should be synchronized on read-only fields (#5212) 2023-06-15 00:34:55 +00:00
SurfaceFlinger [Ryujinx.Common] Address dotnet-format issues (#5358) 2023-06-28 18:41:38 +02:00
Time Blocks should be synchronized on read-only fields (#5212) 2023-06-15 00:34:55 +00:00
Usb Move solution and projects to src 2023-04-27 23:51:14 +02:00
Vi Apply new naming rule to all projects except Vp9 (#5407) 2023-06-28 01:18:19 +02:00
Wlan Move solution and projects to src 2023-04-27 23:51:14 +02:00
CommandCmifAttribute.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
CommandTIpcAttribute.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
DisposableIpcService.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
DummyService.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
IpcService.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
ServerBase.cs [Ryujinx.Common] Address dotnet-format issues (#5358) 2023-06-28 18:41:38 +02:00
ServiceAttributes.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00