Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Add() [2/2]

void System.Text.Json.JsonPropertyDictionary< T >.Add ( string propertyName,
T value )
inline

Definition at line 188 of file JsonPropertyDictionary.cs.

189 {
190 if (IsReadOnly)
191 {
192 ThrowHelper.ThrowNotSupportedException_NodeCollectionIsReadOnly();
193 }
194 if (propertyName == null)
195 {
196 throw new ArgumentNullException("propertyName");
197 }
199 }
void AddValue(string propertyName, T value)

References System.Text.Json.JsonPropertyDictionary< T >.AddValue(), System.Text.Json.JsonPropertyDictionary< T >.IsReadOnly, System.Text.Json.ThrowHelper.ThrowNotSupportedException_NodeCollectionIsReadOnly(), and System.value.