You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(existingArrayis not null&&incomingArrayis not null)
289
+
{
290
+
// special case for reflection based deserialization
291
+
if(existingArray.Count==0)
292
+
{
293
+
existingArray.AddRange(incomingArray);
294
+
return;
295
+
}
296
+
else
297
+
{
298
+
thrownewInvalidOperationException($"Attribute '{name}' modifies property {prop.DeclaringType!.Name}.{prop.Name}, which is write only and can't be replaced.");
299
+
}
300
+
}
301
+
302
+
287
303
thrownewInvalidDataException("Property of deserialisation class must be writeable, make sure it's public and has a public setter");
0 commit comments