We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59f15a commit de07baeCopy full SHA for de07bae
GDStoSVG/GDSReader.cs
@@ -329,7 +329,6 @@ private bool ReadRecord(RecordType type, byte[]? data)
329
this.CurrentProperty = ParseShort(data, 0);
330
break;
331
case RecordType.PROPVALUE:
332
- if (this.CurrentProperty != null) { throw new InvalidDataException("New property starting before previous one had value assigned."); }
333
if (this.CurrentElement == null) { throw new InvalidDataException("Trying to assign property with no element to attach to."); }
334
if (this.CurrentProperty == null) { throw new InvalidDataException("Trying to assign property data without key."); }
335
if (data == null || data.Length == 0) { throw new InvalidDataException("Property value had insufficient data"); }
0 commit comments