Fix parameters hiding fields

This commit is contained in:
Cinder Roxley
2024-07-01 13:25:54 -05:00
parent 810679940f
commit 856d59e33d
3 changed files with 7 additions and 7 deletions

View File

@@ -771,12 +771,12 @@ namespace LitJson
return type;
}
public void SetJsonType (JsonType type)
public void SetJsonType (JsonType jtype)
{
if (this.type == type)
if (this.type == jtype)
return;
switch (type) {
switch (jtype) {
case JsonType.None:
break;
@@ -810,7 +810,7 @@ namespace LitJson
break;
}
this.type = type;
this.type = jtype;
}
public string ToJson ()