- [X] Fixes an issue with ordering of properties in serialization.
- [X] Adds opt-in with existing properties.
Example:
```cs
private int _myExistingField;
[SerializableField(1)]
public int MyExistingProperty
{
get => _myExistingField;
set
{
if (value == 0)
{
Parent = null;
}
if (value != _myExistingField)
{
((ISerializable)this).MarkDirty();
_myExistingField = value;
}
}
}
```
|
||
|---|---|---|
| .. | ||
| SerializableEntityGeneration | ||
| SerializableMigration | ||
| SourceGeneration | ||
| EntitySerializationGenerator.cs | ||
| IsExternalInit.cs | ||
| SerializationGenerator.csproj | ||
| SerializerSyntaxReceiver.cs | ||