Skip to content

TypeInfoEncoder.cs bug #108

@fiechter

Description

@fiechter

Decoding of objects with the attribute MessagePackRuntimeType is failing in version 0.6.

It seems as the line 72 of TypeInfoEncoder.cs has a small bug:
Line 72: ? Elipsis + type.FullName.Substring( assemblyName.Name.Length )
This create the name including two dots. For example "Test..TestClass"

My working solution is:
Line 72: ? type.FullName.Substring( assemblyName.Name.Length )
This creates the name "Test.TestClass" which can afterwards be correctly decoded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDetected as bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions