projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow passing null to JsonArray.Add()
[mono.git]
/
mcs
/
class
/
System.Json
/
System.Json
/
JsonArray.cs
diff --git
a/mcs/class/System.Json/System.Json/JsonArray.cs
b/mcs/class/System.Json/System.Json/JsonArray.cs
index c63004422b5b4919cd665c7adc08144b1aee53e8..524e3e8b75007c0163ca85dce45f1bf4c003b4cb 100644
(file)
--- a/
mcs/class/System.Json/System.Json/JsonArray.cs
+++ b/
mcs/class/System.Json/System.Json/JsonArray.cs
@@
-45,9
+45,6
@@
namespace System.Json
public void Add (JsonValue item)
{
- if (item == null)
- throw new ArgumentNullException ("item");
-
list.Add (item);
}