diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 310adcc..d024d2f 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,7 +2,7 @@ true - 0.21.1 + 0.21.2 true diff --git a/src/Tmds.DBus.Protocol/VariantValue.cs b/src/Tmds.DBus.Protocol/VariantValue.cs index 39c3ed1..f5d2156 100644 --- a/src/Tmds.DBus.Protocol/VariantValue.cs +++ b/src/Tmds.DBus.Protocol/VariantValue.cs @@ -1861,6 +1861,9 @@ private void WriteArrayTo(ref MessageWriter writer) case DBusType.ObjectPath: writer.WriteArray(UnsafeArrayAsSpan()); return; + case DBusType.Variant: + writer.WriteArray(UnsafeArrayAsSpan()); + return; } ArrayStart arrayStart = writer.WriteArrayStart(itemType);