1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 23:58:47 +00:00

Initialize Path to null

This value is assigned when the instance is created, so it's guaranteed not to be null when it reaches client code
This commit is contained in:
Oliver Booth 2022-11-30 18:48:40 +00:00
parent 548a5de2be
commit fd52361a5e
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -26,7 +26,7 @@ public sealed class VirtualParadisePathObject : VirtualParadiseObject
/// Gets the path in this object. /// Gets the path in this object.
/// </summary> /// </summary>
/// <value>The path in this object.</value> /// <value>The path in this object.</value>
public VirtualParadisePath Path { get; set; } public VirtualParadisePath Path { get; set; } = null!;
/// <inheritdoc /> /// <inheritdoc />
protected internal override void ExtractFromOther(VirtualParadiseObject virtualParadiseObject) protected internal override void ExtractFromOther(VirtualParadiseObject virtualParadiseObject)