Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.XUnit" Version="1.1.2" />
<PackageVersion Include="Serde" Version="0.9.1" />
<PackageVersion Include="Serde" Version="0.10.0" />
<PackageVersion Include="Spectre.Console" Version="0.54.0" />
<PackageVersion Include="StaticCs" Version="0.3.1" />
<PackageVersion Include="Spectre.Console.Testing" Version="0.54.0" />
Expand Down
9 changes: 9 additions & 0 deletions src/Serde.CmdLine/Deserializer.DeserializeType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,15 @@ string ITypeDeserializer.ReadString(ISerdeInfo info, int index)
DateTime ITypeDeserializer.ReadDateTime(ISerdeInfo info, int index)
=> _deserializer.ReadDateTime();

DateTimeOffset ITypeDeserializer.ReadDateTimeOffset(ISerdeInfo info, int index)
=> _deserializer.ReadDateTimeOffset();

Int128 ITypeDeserializer.ReadI128(ISerdeInfo info, int index)
=> _deserializer.ReadI128();

UInt128 ITypeDeserializer.ReadU128(ISerdeInfo info, int index)
=> _deserializer.ReadU128();

void ITypeDeserializer.ReadBytes(ISerdeInfo info, int index, IBufferWriter<byte> writer)
=> _deserializer.ReadBytes(writer);
}
Expand Down
3 changes: 3 additions & 0 deletions src/Serde.CmdLine/Deserializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public T ReadNullableRef<T>(IDeserialize<T> d)

public decimal ReadDecimal() => throw new NotImplementedException();
public DateTime ReadDateTime() => throw new NotImplementedException();
public DateTimeOffset ReadDateTimeOffset() => throw new NotImplementedException();
public Int128 ReadI128() => throw new NotImplementedException();
public UInt128 ReadU128() => throw new NotImplementedException();
public void ReadBytes(IBufferWriter<byte> writer) => throw new NotImplementedException();

public void Dispose()
Expand Down
2 changes: 1 addition & 1 deletion src/Serde.CmdLine/Serde.CmdLine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<IsTrimmable>true</IsTrimmable>
<IsAotCompatible>true</IsAotCompatible>

<PackageVersion>0.1.1</PackageVersion>
<PackageVersion>0.1.2</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down