mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-26 23:18:39 +00:00
Clean up warnings/hints in solution
This commit is contained in:
parent
5fcd8a00a6
commit
6c97a0cd39
7 changed files with 21 additions and 6 deletions
|
@ -60,6 +60,7 @@ namespace ProjectLighthouse.Controllers {
|
|||
using(XmlReader reader = XmlReader.Create(Request.Body, settings)) {
|
||||
List<string> path = new(); // you can think of this as a file path in the XML, like <updateUser> -> <location> -> <x>
|
||||
while(await reader.ReadAsync()) {
|
||||
// ReSharper disable once SwitchStatementMissingSomeEnumCasesNoDefault
|
||||
switch(reader.NodeType) {
|
||||
case XmlNodeType.Element:
|
||||
path.Add(reader.Name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue