Fix parameters hiding fields
This commit is contained in:
@@ -50,7 +50,7 @@ namespace LitJson
|
||||
void SetBoolean (bool val);
|
||||
void SetDouble (double val);
|
||||
void SetInt (int val);
|
||||
void SetJsonType (JsonType type);
|
||||
void SetJsonType (JsonType jtype);
|
||||
void SetLong (long val);
|
||||
void SetString (string val);
|
||||
|
||||
|
||||
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user